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

Unified Diff: chrome/browser/geolocation/geolocation_permission_context_unittest.cc

Issue 454253002: Location chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing meacer@ comments Created 6 years, 4 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
Index: chrome/browser/geolocation/geolocation_permission_context_unittest.cc
diff --git a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
index 9ae3a305414dee56dd96abfacef9508e28c93f37..437f43c5ee91c001352ddb9f2cecfb496eb4376d 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
+++ b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
@@ -124,7 +124,8 @@ class GeolocationPermissionContextTests
const GURL& requesting_frame,
base::Closure* cancel_callback);
void PermissionResponse(const PermissionRequestID& id,
- bool allowed);
+ bool allowed,
+ int choice);
void CheckPermissionMessageSent(int bridge_id, bool allowed);
void CheckPermissionMessageSentForTab(int tab, int bridge_id, bool allowed);
void CheckPermissionMessageSentInternal(MockRenderProcessHost* process,
@@ -185,7 +186,9 @@ void GeolocationPermissionContextTests::RequestGeolocationPermission(
void GeolocationPermissionContextTests::PermissionResponse(
const PermissionRequestID& id,
- bool allowed) {
+ bool allowed,
+ int choice) {
+ // (mohammed) test choice.
meacer 2014/08/15 23:34:46 nit: TODO(mohammed):
responses_[id.render_process_id()] = std::make_pair(id.bridge_id(), allowed);
}

Powered by Google App Engine
This is Rietveld 408576698