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

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

Issue 2675483002: Replace PermissionType in chrome/ with ContentSettingsType (Closed)
Patch Set: rebase 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_request_manager_test_api.h
diff --git a/chrome/browser/permissions/permission_request_manager_test_api.h b/chrome/browser/permissions/permission_request_manager_test_api.h
index ed68c301cff8a1da7fe1e8eab6b1bcbeefaf3501..c651605f8fa3265134b6e862fd0929531f5e79da 100644
--- a/chrome/browser/permissions/permission_request_manager_test_api.h
+++ b/chrome/browser/permissions/permission_request_manager_test_api.h
@@ -7,7 +7,7 @@
#include "base/macros.h"
#include "chrome/browser/permissions/permission_request_manager.h"
-#include "content/public/browser/permission_type.h"
+#include "components/content_settings/core/common/content_settings_types.h"
class Browser;
class Profile;
@@ -24,10 +24,10 @@ class PermissionRequestManagerTestApi {
PermissionRequestManager* manager() { return manager_; }
// Add a "simple" permission request. One that uses PermissionRequestImpl,
- // such as for content::PermissionType including MIDI_SYSEX, PUSH_MESSAGING,
- // NOTIFICATIONS, GEOLOCATON, or FLASH. This can be called multiple times
+ // such as for ContentSettingsType including MIDI_SYSEX, PUSH_MESSAGING,
+ // NOTIFICATIONS, GEOLOCATON, or PLUGINS. This can be called multiple times
// before a call to manager()->DisplayPendingRequests().
- void AddSimpleRequest(Profile* profile, content::PermissionType type);
+ void AddSimpleRequest(Profile* profile, ContentSettingsType type);
// Return the bubble window for the permission prompt or null if there is no
// prompt currently showing.

Powered by Google App Engine
This is Rietveld 408576698