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_PREFS_PREF_MODEL_ASSOCIATOR_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
6 #define CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <set> | 9 #include <set> |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
15 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
16 #include "chrome/browser/prefs/pref_service.h" | 15 #include "chrome/browser/prefs/pref_service.h" |
17 #include "sync/api/sync_data.h" | 16 #include "sync/api/sync_data.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Sync's syncer::SyncChange handler. We push all our changes through this. | 144 // Sync's syncer::SyncChange handler. We push all our changes through this. |
146 scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; | 145 scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; |
147 | 146 |
148 // Sync's error handler. We use this to create sync errors. | 147 // Sync's error handler. We use this to create sync errors. |
149 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; | 148 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; |
150 | 149 |
151 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociator); | 150 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociator); |
152 }; | 151 }; |
153 | 152 |
154 #endif // CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_H_ | 153 #endif // CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_H_ |
OLD | NEW |