summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 21:42:21 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 21:42:21 +0000
commit9006b115f054bddfc88c9c587e3a4e89f74e66fd (patch)
tree446636345e8044d5e89051dbe62ba6ceff661352 /chrome/test
parentadde3e610223b94f6e907a4a71c2a1ce7c9c32db (diff)
downloadchromium_src-9006b115f054bddfc88c9c587e3a4e89f74e66fd.zip
chromium_src-9006b115f054bddfc88c9c587e3a4e89f74e66fd.tar.gz
chromium_src-9006b115f054bddfc88c9c587e3a4e89f74e66fd.tar.bz2
Cleanup: Remove unneeded includes of notification_service.h in other headers.
BUG=none TEST=none Review URL: http://codereview.chromium.org/5783006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69321 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/live_sync/live_sessions_sync_test.h3
-rw-r--r--chrome/test/test_notification_tracker.cc4
-rw-r--r--chrome/test/test_notification_tracker.h3
-rw-r--r--chrome/test/thread_observer_helper.h1
4 files changed, 6 insertions, 5 deletions
diff --git a/chrome/test/live_sync/live_sessions_sync_test.h b/chrome/test/live_sync/live_sessions_sync_test.h
index 6633828..03fea8c 100644
--- a/chrome/test/live_sync/live_sessions_sync_test.h
+++ b/chrome/test/live_sync/live_sessions_sync_test.h
@@ -36,8 +36,7 @@ class TestSessionService
got_windows_(false, false),
profile_(NULL),
window_bounds_(0, 1, 2, 3) {}
- TestSessionService(SessionService * service,
- Profile* profile)
+ TestSessionService(SessionService* service, Profile* profile)
: SessionServiceTestHelper(service),
done_saving_(false, false),
got_windows_(false, false),
diff --git a/chrome/test/test_notification_tracker.cc b/chrome/test/test_notification_tracker.cc
index d346911..f022da1 100644
--- a/chrome/test/test_notification_tracker.cc
+++ b/chrome/test/test_notification_tracker.cc
@@ -1,9 +1,11 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/test/test_notification_tracker.h"
+#include "chrome/common/notification_service.h"
+
TestNotificationTracker::Event::Event()
: type(NotificationType::ALL),
source(NotificationService::AllSources()),
diff --git a/chrome/test/test_notification_tracker.h b/chrome/test/test_notification_tracker.h
index fd6f928..1b5e341 100644
--- a/chrome/test/test_notification_tracker.h
+++ b/chrome/test/test_notification_tracker.h
@@ -8,9 +8,10 @@
#include <vector>
+#include "chrome/common/notification_details.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
-#include "chrome/common/notification_service.h"
+#include "chrome/common/notification_source.h"
// Provides an easy way for tests to verify that a given set of notifications
// was received during test execution.
diff --git a/chrome/test/thread_observer_helper.h b/chrome/test/thread_observer_helper.h
index ea74432..2987437 100644
--- a/chrome/test/thread_observer_helper.h
+++ b/chrome/test/thread_observer_helper.h
@@ -11,7 +11,6 @@
#include "chrome/browser/browser_thread.h"
#include "chrome/common/notification_observer_mock.h"
#include "chrome/common/notification_registrar.h"
-#include "chrome/common/notification_service.h"
// Helper class to add and remove observers on a non-UI thread from
// the UI thread.