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

Side by Side Diff: chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.cc

Issue 11188020: Introduce Android variants of ChromeGeolocationPermissionContext, GeolocationConfirmInfoBarDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing include 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factor y.h"
6
7 GeolocationConfirmInfoBarDelegate*
8 GeolocationConfirmInfoBarDelegateFactory::Create(
9 InfoBarTabHelper* infobar_helper,
10 GeolocationInfoBarQueueController* controller,
11 int render_process_id,
12 int render_view_id,
13 int bridge_id,
14 const GURL& requesting_frame_url,
15 const std::string& display_languages) {
16 #if defined(OS_ANDROID)
17 return new GeolocationConfirmInfoBarDelegateAndroid(
18 infobar_helper,
19 controller,
20 render_process_id,
21 render_view_id,
22 bridge_id,
23 requesting_frame_url,
24 display_languages);
25 #else
26 return new GeolocationConfirmInfoBarDelegate(
27 infobar_helper,
28 controller,
29 render_process_id,
30 render_view_id,
31 bridge_id,
32 requesting_frame_url,
33 display_languages);
34 #endif
35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698