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

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: Swapping to address InfoBar currying callback case 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..daa5039febe021fce156c0af43c6c46ba9af750d 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) {
+ // (mhm) test choice.
meacer 2014/08/15 22:20:25 Nit: TODO(mohammed)
mhm 2014/08/15 23:18:57 Done.
responses_[id.render_process_id()] = std::make_pair(id.bridge_id(), allowed);
}

Powered by Google App Engine
This is Rietveld 408576698