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_PREFERENCES_SYNC_TEST_H_ | 5 #ifndef CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_ |
6 #define CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_ | 6 #define CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/prefs/pref_service.h" | 9 #include "chrome/browser/prefs/pref_service.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/common/pref_names.h" | |
12 #include "chrome/test/live_sync/live_sync_test.h" | 11 #include "chrome/test/live_sync/live_sync_test.h" |
13 | 12 |
14 class LivePreferencesSyncTest : public LiveSyncTest { | 13 class LivePreferencesSyncTest : public LiveSyncTest { |
15 public: | 14 public: |
16 explicit LivePreferencesSyncTest(TestType test_type) | 15 explicit LivePreferencesSyncTest(TestType test_type) |
17 : LiveSyncTest(test_type) {} | 16 : LiveSyncTest(test_type) {} |
18 virtual ~LivePreferencesSyncTest() {} | 17 virtual ~LivePreferencesSyncTest() {} |
19 | 18 |
20 // Used to access the preferences within a particular sync profile. | 19 // Used to access the preferences within a particular sync profile. |
21 PrefService* GetPrefs(int index) { | 20 PrefService* GetPrefs(int index) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 class ManyClientLivePreferencesSyncTest : public LivePreferencesSyncTest { | 62 class ManyClientLivePreferencesSyncTest : public LivePreferencesSyncTest { |
64 public: | 63 public: |
65 ManyClientLivePreferencesSyncTest() : LivePreferencesSyncTest(MANY_CLIENT) {} | 64 ManyClientLivePreferencesSyncTest() : LivePreferencesSyncTest(MANY_CLIENT) {} |
66 virtual ~ManyClientLivePreferencesSyncTest() {} | 65 virtual ~ManyClientLivePreferencesSyncTest() {} |
67 | 66 |
68 private: | 67 private: |
69 DISALLOW_COPY_AND_ASSIGN(ManyClientLivePreferencesSyncTest); | 68 DISALLOW_COPY_AND_ASSIGN(ManyClientLivePreferencesSyncTest); |
70 }; | 69 }; |
71 | 70 |
72 #endif // CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_ | 71 #endif // CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_ |
OLD | NEW |