OLD | NEW |
1 // Copyright (c) 2011 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_SYNC_GLUE_THEME_MODEL_ASSOCIATOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_THEME_MODEL_ASSOCIATOR_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_THEME_MODEL_ASSOCIATOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_THEME_MODEL_ASSOCIATOR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "chrome/browser/sync/glue/model_associator.h" | 11 #include "chrome/browser/sync/glue/model_associator.h" |
12 #include "chrome/browser/sync/syncable/model_type.h" | 12 #include "sync/syncable/model_type.h" |
13 | 13 |
14 class ProfileSyncService; | 14 class ProfileSyncService; |
15 | 15 |
16 namespace browser_sync { | 16 namespace browser_sync { |
17 | 17 |
18 // Contains all logic for associating the Chrome themes model and the | 18 // Contains all logic for associating the Chrome themes model and the |
19 // sync themes model. | 19 // sync themes model. |
20 class ThemeModelAssociator : public AssociatorInterface { | 20 class ThemeModelAssociator : public AssociatorInterface { |
21 public: | 21 public: |
22 explicit ThemeModelAssociator(ProfileSyncService* sync_service); | 22 explicit ThemeModelAssociator(ProfileSyncService* sync_service); |
(...skipping 14 matching lines...) Expand all Loading... |
37 | 37 |
38 private: | 38 private: |
39 ProfileSyncService* sync_service_; | 39 ProfileSyncService* sync_service_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(ThemeModelAssociator); | 41 DISALLOW_COPY_AND_ASSIGN(ThemeModelAssociator); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace browser_sync | 44 } // namespace browser_sync |
45 | 45 |
46 #endif // CHROME_BROWSER_SYNC_GLUE_THEME_MODEL_ASSOCIATOR_H_ | 46 #endif // CHROME_BROWSER_SYNC_GLUE_THEME_MODEL_ASSOCIATOR_H_ |
OLD | NEW |