OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_PREFERENCE_CHANGE_PROCESSOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_PREFERENCE_CHANGE_PROCESSOR_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_PREFERENCE_CHANGE_PROCESSOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_PREFERENCE_CHANGE_PROCESSOR_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
9 #include "chrome/browser/pref_service.h" | 11 #include "chrome/browser/pref_service.h" |
10 #include "chrome/browser/sync/engine/syncapi.h" | 12 #include "chrome/browser/sync/engine/syncapi.h" |
11 #include "chrome/browser/sync/glue/change_processor.h" | 13 #include "chrome/browser/sync/glue/change_processor.h" |
12 #include "chrome/browser/sync/glue/sync_backend_host.h" | 14 #include "chrome/browser/sync/glue/sync_backend_host.h" |
13 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
14 | 16 |
15 namespace browser_sync { | 17 namespace browser_sync { |
16 | 18 |
17 class PreferenceModelAssociator; | 19 class PreferenceModelAssociator; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 59 |
58 // The two models should be associated according to this ModelAssociator. | 60 // The two models should be associated according to this ModelAssociator. |
59 PreferenceModelAssociator* model_associator_; | 61 PreferenceModelAssociator* model_associator_; |
60 | 62 |
61 DISALLOW_COPY_AND_ASSIGN(PreferenceChangeProcessor); | 63 DISALLOW_COPY_AND_ASSIGN(PreferenceChangeProcessor); |
62 }; | 64 }; |
63 | 65 |
64 } // namespace browser_sync | 66 } // namespace browser_sync |
65 | 67 |
66 #endif // CHROME_BROWSER_SYNC_GLUE_PREFERENCE_CHANGE_PROCESSOR_H_ | 68 #endif // CHROME_BROWSER_SYNC_GLUE_PREFERENCE_CHANGE_PROCESSOR_H_ |
OLD | NEW |