Index: chrome/browser/cookies_tree_model_unittest.cc |
diff --git a/chrome/browser/cookies_tree_model_unittest.cc b/chrome/browser/cookies_tree_model_unittest.cc |
index 0ba39601403b9146c9524e3f06a7a777758c0f16..aa5159a9f515a407cc6f5c292ec84392501999dd 100644 |
--- a/chrome/browser/cookies_tree_model_unittest.cc |
+++ b/chrome/browser/cookies_tree_model_unittest.cc |
@@ -6,8 +6,7 @@ |
#include <string> |
-#include "chrome/browser/content_settings/content_settings_details.h" |
-#include "chrome/browser/content_settings/host_content_settings_map.h" |
+#include "chrome/browser/content_settings/host_content_settings_map_unittest.h" |
#include "chrome/browser/mock_browsing_data_appcache_helper.h" |
#include "chrome/browser/mock_browsing_data_database_helper.h" |
#include "chrome/browser/mock_browsing_data_indexed_db_helper.h" |
@@ -23,28 +22,6 @@ |
namespace { |
-class StubSettingsObserver : public NotificationObserver { |
- public: |
- StubSettingsObserver() : counter(0) { |
- registrar_.Add(this, NotificationType::CONTENT_SETTINGS_CHANGED, |
- NotificationService::AllSources()); |
- } |
- |
- virtual void Observe(NotificationType type, |
- const NotificationSource& source, |
- const NotificationDetails& details) { |
- ++counter; |
- Details<ContentSettingsDetails> settings_details(details); |
- last_pattern = settings_details.ptr()->pattern(); |
- } |
- |
- ContentSettingsPattern last_pattern; |
- int counter; |
- |
- private: |
- NotificationRegistrar registrar_; |
-}; |
- |
class CookiesTreeModelTest : public testing::Test { |
public: |
CookiesTreeModelTest() : ui_thread_(BrowserThread::UI, &message_loop_), |