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

Unified Diff: chrome/browser/ui/page_info/permission_menu_model_unittest.cc

Issue 2754383004: Rename WebsiteSettings code to PageInfo. (Closed)
Patch Set: Upload missing comment fix for WebSettingsUI -> PageInfoUI. Created 3 years, 9 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/ui/page_info/permission_menu_model_unittest.cc
diff --git a/chrome/browser/ui/page_info/permission_menu_model_unittest.cc b/chrome/browser/ui/page_info/permission_menu_model_unittest.cc
index 90003646f7d241b76104e1c5c888b7de6b161c03..0bc142807d42232e52a9adeb3d5ba7390e8846dc 100644
--- a/chrome/browser/ui/page_info/permission_menu_model_unittest.cc
+++ b/chrome/browser/ui/page_info/permission_menu_model_unittest.cc
@@ -18,7 +18,7 @@ class TestCallback {
PermissionMenuModel::ChangeCallback callback() {
return base::Bind(&TestCallback::PermissionChanged, base::Unretained(this));
}
- void PermissionChanged(const WebsiteSettingsUI::PermissionInfo& permission) {
+ void PermissionChanged(const PageInfoUI::PermissionInfo& permission) {
current_ = permission.setting;
}
@@ -38,7 +38,7 @@ class PermissionMenuModelTest : public testing::Test {
TEST_F(PermissionMenuModelTest, TestDefault) {
TestCallback callback;
- WebsiteSettingsUI::PermissionInfo permission;
+ PageInfoUI::PermissionInfo permission;
permission.type = CONTENT_SETTINGS_TYPE_COOKIES;
permission.setting = CONTENT_SETTING_ALLOW;
permission.default_setting = CONTENT_SETTING_ALLOW;
@@ -53,7 +53,7 @@ TEST_F(PermissionMenuModelTest, TestDefaultMediaHttp) {
ContentSettingsType type = i ? CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC
: CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA;
TestCallback callback;
- WebsiteSettingsUI::PermissionInfo permission;
+ PageInfoUI::PermissionInfo permission;
permission.type = type;
permission.setting = CONTENT_SETTING_ALLOW;
permission.default_setting = CONTENT_SETTING_ALLOW;
@@ -73,7 +73,7 @@ TEST_F(PermissionMenuModelTest, TestAllowBlock) {
TEST_F(PermissionMenuModelTest, TestIncognitoNotifications) {
TestCallback callback;
- WebsiteSettingsUI::PermissionInfo permission;
+ PageInfoUI::PermissionInfo permission;
permission.type = CONTENT_SETTINGS_TYPE_NOTIFICATIONS;
permission.setting = CONTENT_SETTING_ASK;
permission.default_setting = CONTENT_SETTING_ASK;
« no previous file with comments | « chrome/browser/ui/page_info/permission_menu_model.cc ('k') | chrome/browser/ui/page_info/website_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698