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

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

Issue 11188020: Introduce Android variants of ChromeGeolocationPermissionContext, GeolocationConfirmInfoBarDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix conflict Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/geolocation/geolocation_infobar_queue_controller_android.cc
diff --git a/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.cc b/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..16eacb4e0f7f047efaefd3d643c0f04c8a20e1fb
--- /dev/null
+++ b/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.cc
@@ -0,0 +1,31 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h"
+
+#include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h"
+
+GeolocationInfoBarQueueControllerAndroid::
+GeolocationInfoBarQueueControllerAndroid(Profile* profile)
+ : GeolocationInfoBarQueueController(profile) {
+}
+
+GeolocationConfirmInfoBarDelegate*
+GeolocationInfoBarQueueControllerAndroid::CreateInfoBarDelegate(
bulach 2012/10/17 13:17:38 see above, I think this can be made into a simpler
Ramya 2012/10/17 21:43:31 Done.
+ InfoBarTabHelper* infobar_helper,
+ GeolocationInfoBarQueueController* controller,
+ int render_process_id,
+ int render_view_id,
+ int bridge_id,
+ const GURL& requesting_frame_url,
+ const std::string& display_languages) {
+ return new GeolocationConfirmInfoBarDelegateAndroid(
+ infobar_helper,
+ controller,
+ render_process_id,
+ render_view_id,
+ bridge_id,
+ requesting_frame_url,
+ display_languages);
+}

Powered by Google App Engine
This is Rietveld 408576698