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

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

Issue 6995007: iwyu: Use callback_old.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_ENGINE_MODEL_SAFE_WORKER_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_MODEL_SAFE_WORKER_H_ 6 #define CHROME_BROWSER_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_old.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "chrome/browser/sync/syncable/model_type.h" 15 #include "chrome/browser/sync/syncable/model_type.h"
16 16
17 namespace browser_sync { 17 namespace browser_sync {
18 18
19 enum ModelSafeGroup { 19 enum ModelSafeGroup {
20 GROUP_PASSIVE = 0, // Models that are just "passively" being synced; e.g. 20 GROUP_PASSIVE = 0, // Models that are just "passively" being synced; e.g.
21 // changes to these models don't need to be pushed to a 21 // changes to these models don't need to be pushed to a
22 // native model. 22 // native model.
23 GROUP_UI, // Models that live on UI thread and are being synced. 23 GROUP_UI, // Models that live on UI thread and are being synced.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void GetModelSafeRoutingInfo(ModelSafeRoutingInfo* out) = 0; 93 virtual void GetModelSafeRoutingInfo(ModelSafeRoutingInfo* out) = 0;
94 protected: 94 protected:
95 virtual ~ModelSafeWorkerRegistrar() {} 95 virtual ~ModelSafeWorkerRegistrar() {}
96 private: 96 private:
97 DISALLOW_COPY_AND_ASSIGN(ModelSafeWorkerRegistrar); 97 DISALLOW_COPY_AND_ASSIGN(ModelSafeWorkerRegistrar);
98 }; 98 };
99 99
100 } // namespace browser_sync 100 } // namespace browser_sync
101 101
102 #endif // CHROME_BROWSER_SYNC_ENGINE_MODEL_SAFE_WORKER_H_ 102 #endif // CHROME_BROWSER_SYNC_ENGINE_MODEL_SAFE_WORKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/model_changing_syncer_command.cc ('k') | chrome/browser/sync/engine/syncapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698