| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORY_H_ |
| 6 #define CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORY_H_ | 6 #define CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 public: | 54 public: |
| 55 // GeolocationArbitratorDependencyFactory | 55 // GeolocationArbitratorDependencyFactory |
| 56 virtual GetTimeNow GetTimeFunction() OVERRIDE; | 56 virtual GetTimeNow GetTimeFunction() OVERRIDE; |
| 57 virtual content::AccessTokenStore* NewAccessTokenStore() OVERRIDE; | 57 virtual content::AccessTokenStore* NewAccessTokenStore() OVERRIDE; |
| 58 virtual LocationProviderBase* NewNetworkLocationProvider( | 58 virtual LocationProviderBase* NewNetworkLocationProvider( |
| 59 content::AccessTokenStore* access_token_store, | 59 content::AccessTokenStore* access_token_store, |
| 60 net::URLRequestContextGetter* context, | 60 net::URLRequestContextGetter* context, |
| 61 const GURL& url, | 61 const GURL& url, |
| 62 const string16& access_token) OVERRIDE; | 62 const string16& access_token) OVERRIDE; |
| 63 virtual LocationProviderBase* NewSystemLocationProvider() OVERRIDE; | 63 virtual LocationProviderBase* NewSystemLocationProvider() OVERRIDE; |
| 64 |
| 65 protected: |
| 66 virtual ~DefaultGeolocationArbitratorDependencyFactory(); |
| 64 }; | 67 }; |
| 65 | 68 |
| 66 #endif // CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORY_H_ | 69 #endif // CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORY_H_ |
| OLD | NEW |