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

Side by Side Diff: chrome/browser/cocoa/simple_content_exceptions_window_controller_unittest.mm

Issue 5367006: Refactor: move HostContentSettingsMap to content_settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/browser/cocoa/simple_content_exceptions_window_controller.h" 5 #import "chrome/browser/cocoa/simple_content_exceptions_window_controller.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #import "base/scoped_nsobject.h" 9 #import "base/scoped_nsobject.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
11 #include "chrome/browser/cocoa/browser_test_helper.h" 11 #include "chrome/browser/cocoa/browser_test_helper.h"
12 #include "chrome/browser/cocoa/cocoa_test_helper.h" 12 #include "chrome/browser/cocoa/cocoa_test_helper.h"
13 #include "chrome/browser/content_settings/host_content_settings_map.h"
13 #include "chrome/browser/geolocation/geolocation_exceptions_table_model.h" 14 #include "chrome/browser/geolocation/geolocation_exceptions_table_model.h"
14 #include "chrome/browser/host_content_settings_map.h"
15 #include "chrome/browser/plugin_exceptions_table_model.h" 15 #include "chrome/browser/plugin_exceptions_table_model.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "testing/platform_test.h" 17 #include "testing/platform_test.h"
18 18
19 @interface SimpleContentExceptionsWindowController (Testing) 19 @interface SimpleContentExceptionsWindowController (Testing)
20 20
21 @property(readonly, nonatomic) TableModelArrayController* arrayController; 21 @property(readonly, nonatomic) TableModelArrayController* arrayController;
22 22
23 @end 23 @end
24 24
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 SimpleContentExceptionsWindowController* controller = GetController(); 86 SimpleContentExceptionsWindowController* controller = GetController();
87 ClickRemoveAll(controller); 87 ClickRemoveAll(controller);
88 88
89 [controller close]; 89 [controller close];
90 90
91 EXPECT_EQ(0u, geolocation_settings_->GetAllOriginsSettings().size()); 91 EXPECT_EQ(0u, geolocation_settings_->GetAllOriginsSettings().size());
92 } 92 }
93 93
94 } // namespace 94 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/content_settings_dialog_controller_unittest.mm ('k') | chrome/browser/content_exceptions_table_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698