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

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

Issue 10675007: 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 again 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..79b7261d552ea37d0616814ae811f978f69dc641 100644
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context.cc
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context.cc
@@ -613,7 +613,7 @@ void ChromeGeolocationPermissionContext::RequestGeolocationPermission(
UTF8ToUTF16(requesting_frame.spec())),
requesting_frame));
if (extension &&
- extension->HasAPIPermission(ExtensionAPIPermission::kGeolocation)) {
+ extension->HasAPIPermission(extensions::APIPermission::kGeolocation)) {
// Make sure the extension is in the calling process.
if (extension_service->process_map()->Contains(
extension->id(), render_process_id)) {
« no previous file with comments | « chrome/browser/extensions/settings/settings_frontend.cc ('k') | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698