| 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_SYNC_ENGINE_MODEL_SAFE_WORKER_H_ | 5 #ifndef SYNC_ENGINE_MODEL_SAFE_WORKER_H_ |
| 6 #define CHROME_BROWSER_SYNC_ENGINE_MODEL_SAFE_WORKER_H_ | 6 #define SYNC_ENGINE_MODEL_SAFE_WORKER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "chrome/browser/sync/internal_api/includes/syncer_error.h" | 15 #include "sync/syncable/model_type.h" |
| 16 #include "chrome/browser/sync/syncable/model_type.h" | 16 #include "sync/util/syncer_error.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class DictionaryValue; | 19 class DictionaryValue; |
| 20 } // namespace | 20 } // namespace |
| 21 | 21 |
| 22 namespace browser_sync { | 22 namespace browser_sync { |
| 23 | 23 |
| 24 typedef base::Callback<enum SyncerError(void)> WorkCallback; | 24 typedef base::Callback<enum SyncerError(void)> WorkCallback; |
| 25 | 25 |
| 26 enum ModelSafeGroup { | 26 enum ModelSafeGroup { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 // be trying to sync it), it is not in this map. | 102 // be trying to sync it), it is not in this map. |
| 103 virtual void GetModelSafeRoutingInfo(ModelSafeRoutingInfo* out) = 0; | 103 virtual void GetModelSafeRoutingInfo(ModelSafeRoutingInfo* out) = 0; |
| 104 protected: | 104 protected: |
| 105 virtual ~ModelSafeWorkerRegistrar() {} | 105 virtual ~ModelSafeWorkerRegistrar() {} |
| 106 private: | 106 private: |
| 107 DISALLOW_COPY_AND_ASSIGN(ModelSafeWorkerRegistrar); | 107 DISALLOW_COPY_AND_ASSIGN(ModelSafeWorkerRegistrar); |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 } // namespace browser_sync | 110 } // namespace browser_sync |
| 111 | 111 |
| 112 #endif // CHROME_BROWSER_SYNC_ENGINE_MODEL_SAFE_WORKER_H_ | 112 #endif // SYNC_ENGINE_MODEL_SAFE_WORKER_H_ |
| OLD | NEW |