0
Commit Graph

260 Commits

Author SHA1 Message Date
mlamouri
4ebe69f4f6 Implement basic mojo Permission service and use it for Geolocation.
This is implementing one side of the mojo Permission service: requesting
a permission. This is being used by the Geolocation code in the renderer
process.

This CL is creating all the required hooks for the permission service
and can be used as a base to increment on top of.

BUG=430238, 420497

Review URL: https://codereview.chromium.org/722153003

Cr-Commit-Position: refs/heads/master@{#304227}
2014-11-14 17:25:45 +00:00
blundell
c57b93f1e6 Partially convert geolocation IPC to Mojo.
This CL converts the non-permissions-related geolocation IPC to Mojo. The Mojo
GeolocationService interface allows clients to observe location updates. In
//content, the service and its client connect on a per-frame basis, eliminating
the need for the tracking of multiple frames that GeolocationDispatcherHost had
previously been doing. To handle the fact that geolocation updates can be
paused and resumed at per-WebContents granularity, we introduce a
GeolocationServiceContext class, which is used to scope the granularity of
pauses and resumes.

Currently, GeolocationDispatcherHost still handles permissions-related
geolocation IPC. This IPC will be moved to Mojo once there is resolution on
what the right model for handling permissions there is.

BUG=420497
TEST=Go to maps.google.com, allow location tracking, and check that your
location is correctly pinpointed on the map.

Committed: https://crrev.com/28e88081438dc08b06d5f05cfdd980c407db1638
Cr-Commit-Position: refs/heads/master@{#301604}

Review URL: https://codereview.chromium.org/628773003

Cr-Commit-Position: refs/heads/master@{#301824}
2014-10-29 13:20:23 +00:00
yurys
f9b12ff57f Revert of Partially convert geolocation IPC to Mojo. (patchset id:360001 of https://codereview.chromium.org/628773003/)
Reason for revert:
Made inspector/geolocation-emulation-tests.html layout test crash on all platforms

Flakiness dashboard link:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=inspector%2Fgeolocation-emulation-tests.html

Chromium revisions range:
a772ed62ff..5a5999ebee?pretty=fuller

Original issue's description:
> Partially convert geolocation IPC to Mojo.
>
> This CL converts the non-permissions-related geolocation IPC to Mojo. The Mojo
> GeolocationService interface allows clients to observe location updates. In
> //content, the service and its client connect on a per-frame basis, eliminating
> the need for the tracking of multiple frames that GeolocationDispatcherHost had
> previously been doing. To handle the fact that geolocation updates can be
> paused and resumed at per-WebContents granularity, we introduce a
> GeolocationServiceContext class, which is used to scope the granularity of
> pauses and resumes.
>
> Currently, GeolocationDispatcherHost still handles permissions-related
> geolocation IPC. This IPC will be moved to Mojo once there is resolution on
> what the right model for handling permissions there is.
>
> BUG=420497
> TEST=Go to maps.google.com, allow location tracking, and check that your
> location is correctly pinpointed on the map.
>
> Committed: https://crrev.com/28e88081438dc08b06d5f05cfdd980c407db1638
> Cr-Commit-Position: refs/heads/master@{#301604}

TBR=qsr@chromium.org,mvanouwerkerk@chromium.org,timvolodine@chromium.org,brettw@chromium.org,creis@chromium.org,tsepez@chromium.org,aa@chromium.org,blundell@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=420497

Review URL: https://codereview.chromium.org/680323002

Cr-Commit-Position: refs/heads/master@{#301629}
2014-10-28 13:27:58 +00:00
blundell
28e8808143 Partially convert geolocation IPC to Mojo.
This CL converts the non-permissions-related geolocation IPC to Mojo. The Mojo
GeolocationService interface allows clients to observe location updates. In
//content, the service and its client connect on a per-frame basis, eliminating
the need for the tracking of multiple frames that GeolocationDispatcherHost had
previously been doing. To handle the fact that geolocation updates can be
paused and resumed at per-WebContents granularity, we introduce a
GeolocationServiceContext class, which is used to scope the granularity of
pauses and resumes.

Currently, GeolocationDispatcherHost still handles permissions-related
geolocation IPC. This IPC will be moved to Mojo once there is resolution on
what the right model for handling permissions there is.

BUG=420497
TEST=Go to maps.google.com, allow location tracking, and check that your
location is correctly pinpointed on the map.

Review URL: https://codereview.chromium.org/628773003

Cr-Commit-Position: refs/heads/master@{#301604}
2014-10-28 11:58:30 +00:00
dcheng
fa85b15991 Standardize usage of virtual/override/final specifiers.
The Google C++ style guide states:

  Explicitly annotate overrides of virtual functions or virtual
  destructors with an override or (less frequently) final specifier.
  Older (pre-C++11) code will use the virtual keyword as an inferior
  alternative annotation. For clarity, use exactly one of override,
  final, or virtual when declaring an override.

To better conform to these guidelines, the following constructs have
been rewritten:

- if a base class has a virtual destructor, then:
    virtual ~Foo();                   ->  ~Foo() override;
- virtual void Foo() override;        ->  void Foo() override;
- virtual void Foo() override final;  ->  void Foo() final;

This patch was automatically generated. The clang plugin can generate
fixit hints, which are suggested edits when it is 100% sure it knows how
to fix a problem. The hints from the clang plugin were applied to the
source tree using the tool in https://codereview.chromium.org/598073004.

BUG=417463
R=nasko@chromium.org

Review URL: https://codereview.chromium.org/678073006

Cr-Commit-Position: refs/heads/master@{#301534}
2014-10-28 01:13:59 +00:00
miguelg
b7beb08c37 Group the different permission related methods in the content api.
BUG=392145

Review URL: https://codereview.chromium.org/622793002

Cr-Commit-Position: refs/heads/master@{#301338}
2014-10-27 10:58:21 +00:00
dcheng
c2282aa891 Standardize usage of virtual/override/final in content/browser/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.

BUG=417463
TBR=sky@chromium.org

Review URL: https://codereview.chromium.org/667943003

Cr-Commit-Position: refs/heads/master@{#300469}
2014-10-21 12:08:25 +00:00
vkuzkokov
e15021e8a8 DevTools: Add geolocation override in browser
Geolocation overrides moves from renderer to browser side.

BUG=404995

Review URL: https://codereview.chromium.org/603323004

Cr-Commit-Position: refs/heads/master@{#298854}
2014-10-09 12:33:19 +00:00
mlamouri
7a800db3e8 Do not send IPC message to cancel Geolocation permission.
The primary goal of that CL is to be able to assess which IPC
are actually required in order to handle permissions. Cancel
is one of the calls that does not seem needed.

This CL depends on: https://codereview.chromium.org/600043004/

BUG=421085

Review URL: https://codereview.chromium.org/625963003

Cr-Commit-Position: refs/heads/master@{#298736}
2014-10-08 17:04:15 +00:00
mohan.reddy
175d645623 Replacing the OVERRIDE with override and FINAL with final in content/browser/geolocation
This step is a giant search and replace for OVERRIDE and FINAL to
replace them with their lowercase versions.

BUG=417463

Review URL: https://codereview.chromium.org/631053003

Cr-Commit-Position: refs/heads/master@{#298429}
2014-10-07 08:49:48 +00:00
miguelg
fa052070de Migrate geolocation permissions to the new common permission class.
BUG=392145
TBR=benm

Review URL: https://codereview.chromium.org/459953002

Cr-Commit-Position: refs/heads/master@{#297180}
2014-09-29 15:32:03 +00:00
timvolodine
195037f04d Fix the number of buckets in Net.Wifi.InterfaceCount UMA histogram.
The number of buckets should be one more than currently specified.
Otherwise the histogram buckets the values 3 and 4 in the same bucket.

BUG=

Review URL: https://codereview.chromium.org/547693002

Cr-Commit-Position: refs/heads/master@{#294808}
2014-09-15 12:57:42 +00:00
zelidrag
29fe338316 Part 3: Merged FakedDBusThreadManager with DBusThreadManager.
BUG=401192
TEST=existing tests
TBR=sky,stevenjb,keybuk

Review URL: https://codereview.chromium.org/477663004

Cr-Commit-Position: refs/heads/master@{#292072}
2014-08-27 01:45:47 +00:00
mek
5bfbee1117 Fix comment to match implementation.
NOTRY=true
BUG=None

Review URL: https://codereview.chromium.org/504443003

Cr-Commit-Position: refs/heads/master@{#291694}
2014-08-25 16:30:20 +00:00
mvanouwerkerk@chromium.org
67659060a3 Clean up WifiDataProvider(Manager)
* No need to pass manager in callback
* No need to keep pointer to manager in provider
* Rename test methods Foo to FooForTesting

Review URL: https://codereview.chromium.org/486203004

Cr-Commit-Position: refs/heads/master@{#291209}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291209 0039d316-1c4b-4281-b951-d872f2087c98
2014-08-21 22:04:43 +00:00
rlarocque@chromium.org
890d2d562a Disable two geolocation wifi tests
See bug for details.

BUG=405596
NOTRY=true
TBR=mvanouwerkerk

Review URL: https://codereview.chromium.org/493773002

Cr-Commit-Position: refs/heads/master@{#290869}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290869 0039d316-1c4b-4281-b951-d872f2087c98
2014-08-20 18:18:23 +00:00
mvanouwerkerk@chromium.org
3bd3707c99 Cleaner organization of WifiDataProvider code.
* Rename WifiDataProvider to WifiDataProviderManager
* Rename WifiDataProviderImplBase to WifiDataProvider
* Split these into separate files

Review URL: https://codereview.chromium.org/474433003

Cr-Commit-Position: refs/heads/master@{#290586}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290586 0039d316-1c4b-4281-b951-d872f2087c98
2014-08-19 16:23:21 +00:00
mvanouwerkerk@chromium.org
458e22efbf Rename platform specific wifi data provider classes.
For consistency with the file names, and with WifiDataProviderLinux and WifiDataProviderChromeOS the platform token is a suffix.

Review URL: https://codereview.chromium.org/476133003

Cr-Commit-Position: refs/heads/master@{#290321}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290321 0039d316-1c4b-4281-b951-d872f2087c98
2014-08-18 19:19:09 +00:00
mvanouwerkerk@chromium.org
6ca7dc17ec Rename GeolocationProviderImpl unittest file to match what it tests.
It tests geolocation_provider_impl.{h,cc}

Review URL: https://codereview.chromium.org/472053002

Cr-Commit-Position: refs/heads/master@{#289836}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289836 0039d316-1c4b-4281-b951-d872f2087c98
2014-08-15 09:45:37 +00:00
mvanouwerkerk@chromium.org
86493cdf8a Rename various Geolocation bits for clarity and consistency.
Review URL: https://codereview.chromium.org/477633002

Cr-Commit-Position: refs/heads/master@{#289678}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289678 0039d316-1c4b-4281-b951-d872f2087c98
2014-08-14 19:49:49 +00:00
dhnishi@chromium.org
bfcf456664 Audit the last time the Geolocation and Notification content settings
have been used.

This will be used as part of a resource/permission manager which will allow users to more easily see and modify which permissions are being granted to which websites.

Design Doc: https://docs.google.com/document/d/1oQwmj3AU4QYhTyGrYEGr6zaZhHUfx-wqUgEcQGbUU-U/edit?usp=sharing

BUG=372607

Review URL: https://codereview.chromium.org/356543003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283909 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-17 22:30:20 +00:00
pkasting@chromium.org
23a918b67b Fixes for re-enabling more MSVC level 4 warnings: content/browser/ edition
This contains fixes for the following sorts of issues:
* Signedness mismatch
* Assignment inside conditional
* Possibly-uninitialized local variable

This also contains a very small number of other cleanups to nearby code.

BUG=81439
TEST=none

Review URL: https://codereview.chromium.org/373873002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283169 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-15 09:51:36 +00:00
bulach@chromium.org
5c6d3b281a Removes bulach@ from OWNERS.
May our paths cross again soon!

BUG=
TBR=jochen@chromium.org,thakis@chromium.org

Review URL: https://codereview.chromium.org/343323003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280313 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-27 13:11:13 +00:00
jam@chromium.org
487974a82e Simplify geolocation permission request in the Content API.
This is the model I used for notifications and will use for other features as they move from RenderView to RenderFrame.

BUG=304341
R=avi@chromium.org, mkosiba@chromium.org

Review URL: https://codereview.chromium.org/330143002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277038 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-13 16:49:01 +00:00
jam@chromium.org
4e26d159c6 Renable WebViewTest.GeolocationAPIEmbedderHasAccessMultipleBridgeIdAllow with fixes.
This broke because of https://src.chromium.org/viewvc/blink?view=rev&revision=175404. There were two problems:
-GeolocationProviderImpl::OnClientsChanged() was incorrectly resetting position_ even when it was overridden for testing. We didn't notice this before because the blink-side geolocation controller would cache the last position and it would reuse it for the iframe. now that each frame goes to the browser, it became apparent
-the test iframe html needed to be non-zero for the same reason as above (now we need to go to the browser for the iframe)

BUG=304341
R=lazyboy@chromium.org

Review URL: https://codereview.chromium.org/311193006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275157 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-05 16:39:17 +00:00
jam@chromium.org
8eae080fed Convert geolocation code to use RenderFrame instead of RenderView.
BUG=304341
R=bulach@chromium.org

Review URL: https://codereview.chromium.org/303503008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274339 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-02 21:35:55 +00:00
jam@chromium.org
f28ef9a328 Dispatch geolocation IPCs on the UI thread. Aside from simplifying the code to avoid a lot of thread hops, this sets things up for converting the code to work on RenderFrames instead of RenderViews.
In the process I also switched the code to use CallbackList which simplifies the registration.

BUG=304341
R=benm@chromium.org, brettw@chromium.org, bulach@chromium.org, caitkp@chromium.org, isherman@chromium.org, mvanouwerkerk@chromium.org, nasko@chromium.org

Review URL: https://codereview.chromium.org/273523007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269795 0039d316-1c4b-4281-b951-d872f2087c98
2014-05-12 16:36:10 +00:00
jam@chromium.org
aac7bba382 Remove content/port directory and move the 3 remaining interfaces to content/public.
BUG=368812
R=avi@chromium.org

Review URL: https://codereview.chromium.org/261383002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268389 0039d316-1c4b-4281-b951-d872f2087c98
2014-05-06 03:11:22 +00:00
jam@chromium.org
63ce014a03 Merge GeolocationDispatcherHostImpl with GeolocationDispatcherHost. None of the other message filters hide the internal in the cc file, and it just makes reading/modifying this code harder.
BUG=304341
R=avi@chromium.org, mvanouwerkerk@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267948

Review URL: https://codereview.chromium.org/262753006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268088 0039d316-1c4b-4281-b951-d872f2087c98
2014-05-04 00:55:57 +00:00
abodenha@google.com
b70d60cb5c Revert 267948 "Merge GeolocationDispatcherHostImpl with Geolocat..."
> Merge GeolocationDispatcherHostImpl with GeolocationDispatcherHost. None of the other message filters hide the internal in the cc file, and it just makes reading/modifying this code harder.
> 
> BUG=304341
> R=avi@chromium.org, mvanouwerkerk@chromium.org
> 
> Review URL: https://codereview.chromium.org/262753006

TBR=jam@chromium.org

Review URL: https://codereview.chromium.org/265043004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267949 0039d316-1c4b-4281-b951-d872f2087c98
2014-05-02 22:56:04 +00:00
jam@chromium.org
dd91e6125e Merge GeolocationDispatcherHostImpl with GeolocationDispatcherHost. None of the other message filters hide the internal in the cc file, and it just makes reading/modifying this code harder.
BUG=304341
R=avi@chromium.org, mvanouwerkerk@chromium.org

Review URL: https://codereview.chromium.org/262753006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267948 0039d316-1c4b-4281-b951-d872f2087c98
2014-05-02 22:43:31 +00:00
vitalybuka@chromium.org
ea0c7a8181 Renamed namespaces in src/content.
url_util -> url
url_parse -> url
url_canon -> url

BUG=364747

Review URL: https://codereview.chromium.org/252323006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267457 0039d316-1c4b-4281-b951-d872f2087c98
2014-05-01 06:12:27 +00:00
newt@chromium.org
6a718abd7d Rename jni_helper.h to jni_weak_ref.h.
BUG=365021
TBR=darin

Review URL: https://codereview.chromium.org/247263009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265715 0039d316-1c4b-4281-b951-d872f2087c98
2014-04-23 20:01:20 +00:00
gbillock@chromium.org
0e1886438d [Geolocation] Attach user gesture indicator to permission request call.
This enables permissions bubble policies that rely on user gesture signals for deciding when/how to show bubble UI for permission requests.

BUG=332115

Review URL: https://codereview.chromium.org/185813004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262963 0039d316-1c4b-4281-b951-d872f2087c98
2014-04-10 13:26:25 +00:00
mvanouwerkerk@chromium.org
a4fa2b7ce3 Log ErrorCode of Geoposition to UMA.
BUG=None

Review URL: https://codereview.chromium.org/226103003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262412 0039d316-1c4b-4281-b951-d872f2087c98
2014-04-08 15:08:07 +00:00
jdduke@chromium.org
b51352abcd Allow MessageFilters to restrict listening to specific message classes
ChannelProxy currently offers messages to all member MessageFilters.  It turns
out that a good portion of the most common message types will never be filtered,
making the O(N) filter walk an unnecessary affair.  To prevent this, allow
MessageFilters to indicate which (if any) subset of message classes they may
filter, allowing the ChannelProxy to refine the list of filters that are offered
a particular message.  This saves ~35us per message received on the browser IO
thread for a typical Android device.

Relanding with a few more guards for MessageFilter removal, access and message
class subscription.

BUG=340881
TBR=asargent@chromium.org

Review URL: https://codereview.chromium.org/142923005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253361 0039d316-1c4b-4281-b951-d872f2087c98
2014-02-26 05:18:04 +00:00
derat@chromium.org
38715910ea chromeos: Make dbus::MessageReader memory ownership explicit
Make memory returned by MessageReader::PopArrayOfBytes()
const to make it clearer that ownership remains with the
MessageReader.

Also update PopArrayOfStrings() and PopArrayOfObjectPaths()
to clear the passed-in vectors before appending to them.

BUG=none
TBR=isherman@chromium.org,mvanouwerkerk@chromium.org

Review URL: https://codereview.chromium.org/176693003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252922 0039d316-1c4b-4281-b951-d872f2087c98
2014-02-24 15:59:40 +00:00
jdduke@chromium.org
da2c4ffa21 Revert "Allow MessageFilters to restrict listening to specific message classes"
This reverts commit 2955e4e3c7.

Reason for revert: Frequent crashes on Windows.

BUG=345368
TBR=

Review URL: https://codereview.chromium.org/165333004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252428 0039d316-1c4b-4281-b951-d872f2087c98
2014-02-21 00:13:23 +00:00
viettrungluu@chromium.org
6ae7ee76c4 Convert scoped_ptr_malloc -> scoped_ptr, part 1.
scoped_ptr_malloc is deprecated; let's get rid of it.

R=brettw@chromium.org
TBR=thakis@chromium.org

Review URL: https://codereview.chromium.org/168643002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251625 0039d316-1c4b-4281-b951-d872f2087c98
2014-02-16 22:18:43 +00:00
jdduke@chromium.org
2955e4e3c7 Allow MessageFilters to restrict listening to specific message classes
ChannelProxy currently offers messages to all member MessageFilters.  It turns
out that a good portion of the most common message types will never be filtered,
making the O(N) filter walk an unnecessary affair.  To prevent this, allow
MessageFilters to indicate which (if any) subset of message classes they may
filter, allowing the ChannelProxy to refine the list of filters that are offered
a particular message.  This saves ~35us per message received on the browser IO
thread for a typical Android device.

BUG=340881
TBR=asargent@chromium.org

Review URL: https://codereview.chromium.org/142923005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251622 0039d316-1c4b-4281-b951-d872f2087c98
2014-02-16 22:11:26 +00:00
avi@chromium.org
b6775d788c Update some uses of char16 to use the base:: namespace.
BUG=329295
TEST=no change
TBR=ben@chromium.org

Review URL: https://codereview.chromium.org/113403006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242503 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-25 20:04:53 +00:00
avi@chromium.org
3295612b18 Update uses of UTF conversions in content/ to use the base:: namespace.
BUG=330556
TEST=no change
TBR=ben@chromium.org

Review URL: https://codereview.chromium.org/121033002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242483 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-25 07:29:24 +00:00
benm@chromium.org
36d6a43ae9 Add a mechanism to pause and resume geolocation requests. Currently Android WebView is the only platform to make use of this new API. We implement this as a new API on the Browser-side GeolocationDispatcherHost.
In doing so:
 - Refactor the current LocationProvider such that it doesn't rely on ActivityStatus, updating LocationProviderTest accordingly
 - Introduce ContentViewLocationTest.java that verifies the LocationProvider implementation is paused and resumed when the ContentView is hidde/shown
 - Introduce a AwGeolocationTest that verifies the LocationProvider implementation is paused and resumed when the new API is invoked
 - Introduce LocationProviderFactory and a MockLocationProvider to avoid relying on the system location provider when running tests, as it's not possible to enable mock locations on Android user builds without physical access to the device.

BUG=b/11336074

Review URL: https://codereview.chromium.org/65273002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240719 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-13 19:43:51 +00:00
brettw@chromium.org
fcf75d4016 Convert string16 to base::string16 in content.
BUG=

Review URL: https://codereview.chromium.org/102593002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238447 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-03 20:11:26 +00:00
joth@chromium.org
4fb3cb6542 Update OWNERS files
joth out
Some new folks in

TBR=darin@chromium.org

Review URL: https://codereview.chromium.org/99653002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238224 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-02 23:16:33 +00:00
spang@chromium.org
61955d9260 Make dbus-based wifi data provider optional on linux
The linux wifi data provider adds an external dependency on libdbus.
This prevents building content_browser on linux systems that don't
include it (particularly embedded ones such as chromecast).

Introduce use_dbus gyp variable and remove this dependency when
use_dbus==0.

BUG=318315,318413

Review URL: https://codereview.chromium.org/59323007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234894 0039d316-1c4b-4281-b951-d872f2087c98
2013-11-13 20:44:52 +00:00
mvanouwerkerk@chromium.org
de0cd41171 Confirm timvolodine as Geolocation owner and include the java files.
Review URL: https://codereview.chromium.org/52663002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232111 0039d316-1c4b-4281-b951-d872f2087c98
2013-10-31 14:21:33 +00:00
mvanouwerkerk@chromium.org
a4842086f3 Geolocation: expand number of buckets for wifi access points in histogram.
The current histogram shows that 46% of the data ends up in the overflow bucket.

Review URL: https://codereview.chromium.org/44343002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231095 0039d316-1c4b-4281-b951-d872f2087c98
2013-10-25 19:59:14 +00:00
mvanouwerkerk@chromium.org
3240c28463 Geolocation: log the number of wifi access points used to determine location.
Review URL: https://codereview.chromium.org/26482003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229024 0039d316-1c4b-4281-b951-d872f2087c98
2013-10-17 03:12:42 +00:00
scottmg@chromium.org
87f19ca00c Add include of <algorithm> for compilation on VS2013
Required for std::min/max.

R=joth@chromium.org
BUG=288948

Review URL: https://codereview.chromium.org/27066004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228733 0039d316-1c4b-4281-b951-d872f2087c98
2013-10-15 18:55:14 +00:00