summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/mock_location_provider.h
diff options
context:
space:
mode:
authorbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-20 12:42:49 +0000
committerbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-20 12:42:49 +0000
commita980b054825712a4aca6e80a432082bb6bb1d443 (patch)
treeb4790d91655e248fc3149155ba10ce4a8678ab28 /content/browser/geolocation/mock_location_provider.h
parent634b12e8b3184734f51593df47d775d8c591fdde (diff)
downloadchromium_src-a980b054825712a4aca6e80a432082bb6bb1d443.zip
chromium_src-a980b054825712a4aca6e80a432082bb6bb1d443.tar.gz
chromium_src-a980b054825712a4aca6e80a432082bb6bb1d443.tar.bz2
Remove requesting_frame parameters from Geolocation stack
This CL removes requesting_frame parameters from the Geolocation stack because the URL passed around in these is no longer used for anything. BUG=123815 TEST=unit_tests, browser_tests *Geolocation* Review URL: http://codereview.chromium.org/10107017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation/mock_location_provider.h')
-rw-r--r--content/browser/geolocation/mock_location_provider.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/content/browser/geolocation/mock_location_provider.h b/content/browser/geolocation/mock_location_provider.h
index b375a53..69411c3 100644
--- a/content/browser/geolocation/mock_location_provider.h
+++ b/content/browser/geolocation/mock_location_provider.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,7 +12,6 @@
#include "base/threading/thread.h"
#include "content/browser/geolocation/location_provider.h"
#include "content/common/geoposition.h"
-#include "googleurl/src/gurl.h"
// Mock implementation of a location provider for testing.
class MockLocationProvider : public LocationProviderBase {
@@ -29,11 +28,11 @@ class MockLocationProvider : public LocationProviderBase {
virtual bool StartProvider(bool high_accuracy) OVERRIDE;
virtual void StopProvider() OVERRIDE;
virtual void GetPosition(Geoposition* position) OVERRIDE;
- virtual void OnPermissionGranted(const GURL& requesting_frame) OVERRIDE;
+ virtual void OnPermissionGranted() OVERRIDE;
Geoposition position_;
enum State { STOPPED, LOW_ACCURACY, HIGH_ACCURACY } state_;
- GURL permission_granted_url_;
+ bool is_permission_granted_;
MockLocationProvider** self_ref_;
scoped_refptr<base::MessageLoopProxy> provider_loop_;