| OLD | NEW |
| 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> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/scoped_vector.h" | 13 #include "base/scoped_vector.h" |
| 14 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
| 15 #include "base/waitable_event.h" | 15 #include "base/waitable_event.h" |
| 16 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
| 17 #include "chrome/browser/browser_window.h" | 17 #include "chrome/browser/browser_window.h" |
| 18 #include "chrome/browser/profile.h" | 18 #include "chrome/browser/profile.h" |
| 19 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 19 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 20 #include "chrome/browser/sessions/base_session_service.h" | 20 #include "chrome/browser/sessions/base_session_service.h" |
| 21 #include "chrome/browser/sessions/session_service_test_helper.h" | 21 #include "chrome/browser/sessions/session_service_test_helper.h" |
| 22 #include "chrome/browser/tab_contents/tab_contents.h" | 22 #include "chrome/browser/tab_contents/tab_contents.h" |
| 23 #include "chrome/browser/tab_contents_wrapper.h" | 23 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 24 #include "chrome/test/live_sync/live_sync_test.h" | 24 #include "chrome/test/live_sync/live_sync_test.h" |
| 25 #include "chrome/test/ui_test_utils.h" | 25 #include "chrome/test/ui_test_utils.h" |
| 26 #include "googleurl/src/gurl.h" | 26 #include "googleurl/src/gurl.h" |
| 27 #include "webkit/glue/window_open_disposition.h" | 27 #include "webkit/glue/window_open_disposition.h" |
| 28 | 28 |
| 29 // Helper for accessing session service internals. | 29 // Helper for accessing session service internals. |
| 30 class TestSessionService | 30 class TestSessionService |
| 31 : public SessionServiceTestHelper, | 31 : public SessionServiceTestHelper, |
| 32 public base::RefCountedThreadSafe<TestSessionService> { | 32 public base::RefCountedThreadSafe<TestSessionService> { |
| 33 public: | 33 public: |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 MultipleClientLiveSessionsSyncTest() | 410 MultipleClientLiveSessionsSyncTest() |
| 411 : LiveSessionsSyncTest(MULTIPLE_CLIENT) {} | 411 : LiveSessionsSyncTest(MULTIPLE_CLIENT) {} |
| 412 virtual ~MultipleClientLiveSessionsSyncTest() {} | 412 virtual ~MultipleClientLiveSessionsSyncTest() {} |
| 413 | 413 |
| 414 private: | 414 private: |
| 415 DISALLOW_COPY_AND_ASSIGN(MultipleClientLiveSessionsSyncTest); | 415 DISALLOW_COPY_AND_ASSIGN(MultipleClientLiveSessionsSyncTest); |
| 416 }; | 416 }; |
| 417 | 417 |
| 418 #endif // CHROME_TEST_LIVE_SYNC_LIVE_SESSIONS_SYNC_TEST_H_ | 418 #endif // CHROME_TEST_LIVE_SYNC_LIVE_SESSIONS_SYNC_TEST_H_ |
| 419 | 419 |
| OLD | NEW |