diff options
Diffstat (limited to 'content/browser/geolocation/mock_location_provider.h')
-rw-r--r-- | content/browser/geolocation/mock_location_provider.h | 7 |
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_; |