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

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

Issue 2675483002: Replace PermissionType in chrome/ with ContentSettingsType (Closed)
Patch Set: rebase + include content_settings_types.h more Created 3 years, 10 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_permission_context.cc
diff --git a/chrome/browser/geolocation/geolocation_permission_context.cc b/chrome/browser/geolocation/geolocation_permission_context.cc
index 38ab762bb4310d2391873e420a50fd1f735e9577..0283b6c527c9dcca25adbb28a0d344f9da223afd 100644
--- a/chrome/browser/geolocation/geolocation_permission_context.cc
+++ b/chrome/browser/geolocation/geolocation_permission_context.cc
@@ -9,7 +9,6 @@
#include "chrome/browser/permissions/permission_request_id.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/browser_thread.h"
-#include "content/public/browser/permission_type.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "device/geolocation/geolocation_provider.h"
@@ -17,7 +16,6 @@
GeolocationPermissionContext::GeolocationPermissionContext(Profile* profile)
: PermissionContextBase(profile,
- content::PermissionType::GEOLOCATION,
CONTENT_SETTINGS_TYPE_GEOLOCATION),
extensions_context_(profile) {}

Powered by Google App Engine
This is Rietveld 408576698