| Index: content/browser/geolocation/mock_location_provider.h
|
| diff --git a/content/browser/geolocation/mock_location_provider.h b/content/browser/geolocation/mock_location_provider.h
|
| index b375a53abb06b0d3ae73eb99087d9bb5c407b66c..69411c3bade178ed9088511f99e2e7a076572c62 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_;
|
|
|