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

Unified Diff: device/geolocation/network_location_provider.h

Issue 2200483002: Geolocation cleanup: run clang-format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/geolocation/mock_location_provider.h ('k') | device/geolocation/network_location_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/network_location_provider.h
diff --git a/device/geolocation/network_location_provider.h b/device/geolocation/network_location_provider.h
index d5ddcbfe75e7a5960b9e97db557898ad84e55c3d..f47310425789ad83277d07f3a746df95302cbd51 100644
--- a/device/geolocation/network_location_provider.h
+++ b/device/geolocation/network_location_provider.h
@@ -42,8 +42,7 @@ class NetworkLocationProvider : public base::NonThreadSafe,
// WiFi data. In the case of the cache exceeding kMaximumSize this will
// evict old entries in FIFO orderer of being added.
// Returns true on success, false otherwise.
- bool CachePosition(const WifiData& wifi_data,
- const Geoposition& position);
+ bool CachePosition(const WifiData& wifi_data, const Geoposition& position);
// Searches for a cached position response for the current set of data.
// Returns NULL if the position is not in the cache, or the cached
@@ -53,8 +52,7 @@ class NetworkLocationProvider : public base::NonThreadSafe,
private:
// Makes the key for the map of cached positions, using a set of
// data. Returns true if a good key was generated, false otherwise.
- static bool MakeKey(const WifiData& wifi_data,
- base::string16* key);
+ static bool MakeKey(const WifiData& wifi_data, base::string16* key);
// The cache of positions. This is stored as a map keyed on a string that
// represents a set of data, and a list to provide
« no previous file with comments | « device/geolocation/mock_location_provider.h ('k') | device/geolocation/network_location_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698