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

Unified Diff: chrome/browser/permissions/permission_dialog_delegate.h

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/permissions/permission_dialog_delegate.h
diff --git a/chrome/browser/permissions/permission_dialog_delegate.h b/chrome/browser/permissions/permission_dialog_delegate.h
index 96a4347ab5f3e7ee2d0aa67cc26878ab6df0ea6e..f57ccd1219dd18d457fbecb50f0c5e669c72871a 100644
--- a/chrome/browser/permissions/permission_dialog_delegate.h
+++ b/chrome/browser/permissions/permission_dialog_delegate.h
@@ -11,7 +11,7 @@
#include "base/callback.h"
#include "base/macros.h"
#include "chrome/browser/permissions/permission_util.h"
-#include "content/public/browser/permission_type.h"
+#include "components/content_settings/core/common/content_settings_types.h"
using base::android::JavaParamRef;
using base::android::ScopedJavaLocalRef;
@@ -41,7 +41,7 @@ class PermissionDialogDelegate {
// Creates a modal dialog for |type|.
static void Create(content::WebContents* web_contents,
- content::PermissionType type,
+ ContentSettingsType type,
const GURL& requesting_frame,
bool user_gesture,
Profile* profile,

Powered by Google App Engine
This is Rietveld 408576698