diff options
Diffstat (limited to 'chrome/browser/plugin_exceptions_table_model_unittest.cc')
-rw-r--r-- | chrome/browser/plugin_exceptions_table_model_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/plugin_exceptions_table_model_unittest.cc b/chrome/browser/plugin_exceptions_table_model_unittest.cc index 09eac8a..7720287 100644 --- a/chrome/browser/plugin_exceptions_table_model_unittest.cc +++ b/chrome/browser/plugin_exceptions_table_model_unittest.cc @@ -14,7 +14,9 @@ #include "testing/gtest/include/gtest/gtest.h" #include "webkit/glue/plugins/webplugininfo.h" -namespace { +// Can't be an internal namespace because PluginExceptionsTableModel declares +// as a friend. +namespace plugin_test_internal { class MockTableModelObserver : public TableModelObserver { public: @@ -44,8 +46,6 @@ class TestingPluginExceptionsTableModel : public PluginExceptionsTableModel { std::vector<WebPluginInfo> plugins_; }; -} - class PluginExceptionsTableModelTest : public testing::Test { public: PluginExceptionsTableModelTest() @@ -75,9 +75,7 @@ class PluginExceptionsTableModelTest : public testing::Test { "bar", CONTENT_SETTING_ALLOW); - table_model_.reset(new TestingPluginExceptionsTableModel( - map, - NULL)); + table_model_.reset(new TestingPluginExceptionsTableModel(map, NULL)); std::vector<WebPluginInfo> plugins; WebPluginInfo foo_plugin; @@ -188,3 +186,5 @@ TEST_F(PluginExceptionsTableModelTest, RemoveAllRows) { CheckInvariants(); table_model_->SetObserver(NULL); } + +} // namespace plugin_test_internal |