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

Unified Diff: chrome/browser/cocoa/content_exceptions_window_controller_unittest.mm

Issue 2858032: Display content settings applying to the current otr session only. (Closed)
Patch Set: updates Created 10 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/cocoa/content_exceptions_window_controller_unittest.mm
diff --git a/chrome/browser/cocoa/content_exceptions_window_controller_unittest.mm b/chrome/browser/cocoa/content_exceptions_window_controller_unittest.mm
index 995c21eab06d7096473f02335e227a7ebd527443..730a0453bc4402cf76919ed70f04ba914ba2664a 100644
--- a/chrome/browser/cocoa/content_exceptions_window_controller_unittest.mm
+++ b/chrome/browser/cocoa/content_exceptions_window_controller_unittest.mm
@@ -57,7 +57,8 @@ class ContentExceptionsWindowControllerTest : public CocoaTest {
ContentExceptionsWindowController* GetController(ContentSettingsType type) {
id controller = [ContentExceptionsWindowController
controllerForType:type
- settingsMap:settingsMap_.get()];
+ settingsMap:settingsMap_.get()
+ otrSettingsMap:NULL];
[controller showWindow:nil];
return controller;
}
@@ -96,7 +97,8 @@ TEST_F(ContentExceptionsWindowControllerTest, Construction) {
ContentExceptionsWindowController* controller =
[ContentExceptionsWindowController
controllerForType:CONTENT_SETTINGS_TYPE_PLUGINS
- settingsMap:settingsMap_.get()];
+ settingsMap:settingsMap_.get()
+ otrSettingsMap:NULL];
[controller showWindow:nil];
[controller close]; // Should autorelease.
}

Powered by Google App Engine
This is Rietveld 408576698