Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: sync/engine/model_safe_worker.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/engine/model_changing_syncer_command_unittest.cc ('k') | sync/engine/model_safe_worker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « sync/engine/model_changing_syncer_command_unittest.cc ('k') | sync/engine/model_safe_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698