OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_THEMES_THEME_SYNCABLE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_THEMES_THEME_SYNCABLE_SERVICE_H_ |
6 #define CHROME_BROWSER_THEMES_THEME_SYNCABLE_SERVICE_H_ | 6 #define CHROME_BROWSER_THEMES_THEME_SYNCABLE_SERVICE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
13 #include "sync/api/sync_change.h" | 13 #include "components/sync/api/sync_change.h" |
14 #include "sync/api/sync_data.h" | 14 #include "components/sync/api/sync_data.h" |
15 #include "sync/api/sync_error.h" | 15 #include "components/sync/api/sync_error.h" |
16 #include "sync/api/sync_error_factory.h" | 16 #include "components/sync/api/sync_error_factory.h" |
17 #include "sync/api/syncable_service.h" | 17 #include "components/sync/api/syncable_service.h" |
18 | 18 |
19 class Profile; | 19 class Profile; |
20 class ThemeService; | 20 class ThemeService; |
21 class ThemeSyncableServiceTest; | 21 class ThemeSyncableServiceTest; |
22 | 22 |
23 namespace sync_pb { | 23 namespace sync_pb { |
24 class ThemeSpecifics; | 24 class ThemeSpecifics; |
25 } | 25 } |
26 | 26 |
27 class ThemeSyncableService : public syncer::SyncableService { | 27 class ThemeSyncableService : public syncer::SyncableService { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 bool use_system_theme_by_default_; | 87 bool use_system_theme_by_default_; |
88 | 88 |
89 base::ThreadChecker thread_checker_; | 89 base::ThreadChecker thread_checker_; |
90 | 90 |
91 FRIEND_TEST_ALL_PREFIXES(ThemeSyncableServiceTest, AreThemeSpecificsEqual); | 91 FRIEND_TEST_ALL_PREFIXES(ThemeSyncableServiceTest, AreThemeSpecificsEqual); |
92 | 92 |
93 DISALLOW_COPY_AND_ASSIGN(ThemeSyncableService); | 93 DISALLOW_COPY_AND_ASSIGN(ThemeSyncableService); |
94 }; | 94 }; |
95 | 95 |
96 #endif // CHROME_BROWSER_THEMES_THEME_SYNCABLE_SERVICE_H_ | 96 #endif // CHROME_BROWSER_THEMES_THEME_SYNCABLE_SERVICE_H_ |
OLD | NEW |