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

Unified Diff: chrome/browser/chromeos/geolocation/simple_geolocation_provider.h

Issue 289313005: Add SimpleGeolocationTest unit test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 | « no previous file | chrome/browser/chromeos/geolocation/simple_geolocation_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/geolocation/simple_geolocation_provider.h
diff --git a/chrome/browser/chromeos/geolocation/simple_geolocation_provider.h b/chrome/browser/chromeos/geolocation/simple_geolocation_provider.h
index a3e3d045303d22b0dcfaf3da8ceb83784cc92df5..669ad8c77095485b889c362e20b1ae82c9b3bf16 100644
--- a/chrome/browser/chromeos/geolocation/simple_geolocation_provider.h
+++ b/chrome/browser/chromeos/geolocation/simple_geolocation_provider.h
@@ -40,6 +40,10 @@ class SimpleGeolocationProvider {
// Returns default geolocation service URL.
static GURL DefaultGeolocationProviderURL();
+ ScopedVector<SimpleGeolocationRequest>& get_requests_for_testing() {
Nikita (slow) 2014/05/19 15:22:13 Maybe male test friend instead?
Alexander Alekseev 2014/05/19 15:57:22 Done.
+ return requests_;
+ }
+
private:
// Geolocation response callback. Deletes request from requests_.
void OnGeolocationResponse(
« no previous file with comments | « no previous file | chrome/browser/chromeos/geolocation/simple_geolocation_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698