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

Side by Side Diff: chrome/test/live_sync/live_sessions_sync_test.h

Issue 5783006: Cleanup: Remove unneeded includes of notification_service.h in other headers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 #ifndef CHROME_TEST_LIVE_SYNC_LIVE_SESSIONS_SYNC_TEST_H_ 5 #ifndef CHROME_TEST_LIVE_SYNC_LIVE_SESSIONS_SYNC_TEST_H_
6 #define CHROME_TEST_LIVE_SYNC_LIVE_SESSIONS_SYNC_TEST_H_ 6 #define CHROME_TEST_LIVE_SYNC_LIVE_SESSIONS_SYNC_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
(...skipping 18 matching lines...) Expand all
29 class TestSessionService 29 class TestSessionService
30 : public SessionServiceTestHelper, 30 : public SessionServiceTestHelper,
31 public base::RefCountedThreadSafe<TestSessionService> { 31 public base::RefCountedThreadSafe<TestSessionService> {
32 public: 32 public:
33 TestSessionService() 33 TestSessionService()
34 : SessionServiceTestHelper(), 34 : SessionServiceTestHelper(),
35 done_saving_(false, false), 35 done_saving_(false, false),
36 got_windows_(false, false), 36 got_windows_(false, false),
37 profile_(NULL), 37 profile_(NULL),
38 window_bounds_(0, 1, 2, 3) {} 38 window_bounds_(0, 1, 2, 3) {}
39 TestSessionService(SessionService * service, 39 TestSessionService(SessionService* service, Profile* profile)
40 Profile* profile)
41 : SessionServiceTestHelper(service), 40 : SessionServiceTestHelper(service),
42 done_saving_(false, false), 41 done_saving_(false, false),
43 got_windows_(false, false), 42 got_windows_(false, false),
44 profile_(profile), 43 profile_(profile),
45 window_bounds_(0, 1, 2, 3) {} 44 window_bounds_(0, 1, 2, 3) {}
46 45
47 void SetUp() { 46 void SetUp() {
48 ASSERT_TRUE(service()) << "SetUp() called without setting SessionService"; 47 ASSERT_TRUE(service()) << "SetUp() called without setting SessionService";
49 ASSERT_TRUE(profile_); 48 ASSERT_TRUE(profile_);
50 service()->SetWindowType(window_id_, Browser::TYPE_NORMAL); 49 service()->SetWindowType(window_id_, Browser::TYPE_NORMAL);
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 public: 407 public:
409 MultipleClientLiveSessionsSyncTest() 408 MultipleClientLiveSessionsSyncTest()
410 : LiveSessionsSyncTest(MULTIPLE_CLIENT) {} 409 : LiveSessionsSyncTest(MULTIPLE_CLIENT) {}
411 virtual ~MultipleClientLiveSessionsSyncTest() {} 410 virtual ~MultipleClientLiveSessionsSyncTest() {}
412 411
413 private: 412 private:
414 DISALLOW_COPY_AND_ASSIGN(MultipleClientLiveSessionsSyncTest); 413 DISALLOW_COPY_AND_ASSIGN(MultipleClientLiveSessionsSyncTest);
415 }; 414 };
416 415
417 #endif // CHROME_TEST_LIVE_SYNC_LIVE_SESSIONS_SYNC_TEST_H_ 416 #endif // CHROME_TEST_LIVE_SYNC_LIVE_SESSIONS_SYNC_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/theme_install_bubble_view.cc ('k') | chrome/test/test_notification_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698