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

Side by Side Diff: chrome/browser/geolocation/chrome_geolocation_permission_context_android.h

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 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 #ifndef CHROME_BROWSER_GEOLOCATION_CHROME_GEOLOCATION_PERMISSION_CONTEXT_ANDROID _H_
6 #define CHROME_BROWSER_GEOLOCATION_CHROME_GEOLOCATION_PERMISSION_CONTEXT_ANDROID _H_
7
8 #include "chrome/browser/geolocation/chrome_geolocation_permission_context.h"
9
10
11 // Android-specific geolocation permission flow, taking into account the
12 // Google Location Settings, if available.
13 class ChromeGeolocationPermissionContextAndroid
14 : public ChromeGeolocationPermissionContext {
15
16 private:
17 friend class ChromeGeolocationPermissionContext;
18 explicit ChromeGeolocationPermissionContextAndroid(Profile* profile);
19
bulach 2012/10/17 13:17:38 nit: // ChromeGeolocationPermissionContext imple
Ramya 2012/10/17 21:43:31 Done.
20 virtual void DecidePermission(
21 int render_process_id,
22 int render_view_id,
23 int bridge_id,
24 const GURL& requesting_frame,
25 const GURL& embedder,
26 base::Callback<void(bool)> callback) OVERRIDE;
27
28 virtual void PermissionDecided(int render_process_id,
29 int render_view_id,
30 int bridge_id,
31 const GURL& requesting_frame,
32 const GURL& embedder,
33 base::Callback<void(bool)> callback,
34 bool allowed) OVERRIDE;
35
36 virtual GeolocationInfoBarQueueController* CreateQueueController() OVERRIDE;
bulach 2012/10/17 13:17:38 nit: DISALLOW_COPY_AND_ASSIGN(ChromeGeolocationPe
Ramya 2012/10/17 21:43:31 Done.
37 };
38
39 #endif // CHROME_BROWSER_GEOLOCATION_CHROME_GEOLOCATION_PERMISSION_CONTEXT_ANDR OID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698