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

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

Issue 10649003: Move each permission classes to its own files in extensions/permissions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase on HEAD Created 8 years, 6 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/chrome_geolocation_permission_context.cc
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context.cc
index cac43a0249488dd694fe12fed50cddb4a2570183..1de78194fe2d1d3b925d4f8a5aa5b442036e11ed 100644
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context.cc
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context.cc
@@ -50,6 +50,7 @@ using content::NavigationEntry;
using content::OpenURLParams;
using content::Referrer;
using content::WebContents;
+using extensions::APIPermission;
// GeolocationInfoBarQueueController ------------------------------------------
@@ -613,7 +614,7 @@ void ChromeGeolocationPermissionContext::RequestGeolocationPermission(
UTF8ToUTF16(requesting_frame.spec())),
requesting_frame));
if (extension &&
- extension->HasAPIPermission(ExtensionAPIPermission::kGeolocation)) {
+ extension->HasAPIPermission(APIPermission::kGeolocation)) {
// Make sure the extension is in the calling process.
if (extension_service->process_map()->Contains(
extension->id(), render_process_id)) {

Powered by Google App Engine
This is Rietveld 408576698