Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(685)

Side by Side Diff: content/browser/geolocation/network_location_provider.h

Issue 631053003: Replacing the OVERRIDE with override and FINAL with final in content/browser/geolocation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved mac issue Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_NETWORK_LOCATION_PROVIDER_H_ 5 #ifndef CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_
6 #define CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ 6 #define CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 CacheAgeList cache_age_list_; // Oldest first. 65 CacheAgeList cache_age_list_; // Oldest first.
66 }; 66 };
67 67
68 NetworkLocationProvider(AccessTokenStore* access_token_store, 68 NetworkLocationProvider(AccessTokenStore* access_token_store,
69 net::URLRequestContextGetter* context, 69 net::URLRequestContextGetter* context,
70 const GURL& url, 70 const GURL& url,
71 const base::string16& access_token); 71 const base::string16& access_token);
72 virtual ~NetworkLocationProvider(); 72 virtual ~NetworkLocationProvider();
73 73
74 // LocationProvider implementation 74 // LocationProvider implementation
75 virtual bool StartProvider(bool high_accuracy) OVERRIDE; 75 virtual bool StartProvider(bool high_accuracy) override;
76 virtual void StopProvider() OVERRIDE; 76 virtual void StopProvider() override;
77 virtual void GetPosition(Geoposition *position) OVERRIDE; 77 virtual void GetPosition(Geoposition *position) override;
78 virtual void RequestRefresh() OVERRIDE; 78 virtual void RequestRefresh() override;
79 virtual void OnPermissionGranted() OVERRIDE; 79 virtual void OnPermissionGranted() override;
80 80
81 private: 81 private:
82 // Satisfies a position request from cache or network. 82 // Satisfies a position request from cache or network.
83 void RequestPosition(); 83 void RequestPosition();
84 84
85 // Gets called when new wifi data is available. 85 // Gets called when new wifi data is available.
86 void OnWifiDataUpdate(); 86 void OnWifiDataUpdate();
87 87
88 // Internal helper used by OnWifiDataUpdate. 88 // Internal helper used by OnWifiDataUpdate.
89 void OnWifiDataUpdated(); 89 void OnWifiDataUpdated();
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // over the platform-dependent implementations. 136 // over the platform-dependent implementations.
137 CONTENT_EXPORT LocationProviderBase* NewNetworkLocationProvider( 137 CONTENT_EXPORT LocationProviderBase* NewNetworkLocationProvider(
138 AccessTokenStore* access_token_store, 138 AccessTokenStore* access_token_store,
139 net::URLRequestContextGetter* context, 139 net::URLRequestContextGetter* context,
140 const GURL& url, 140 const GURL& url,
141 const base::string16& access_token); 141 const base::string16& access_token);
142 142
143 } // namespace content 143 } // namespace content
144 144
145 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ 145 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698