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

Side by Side Diff: components/sync_driver/glue/browser_thread_model_worker.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 COMPONENTS_SYNC_DRIVER_GLUE_BROWSER_THREAD_MODEL_WORKER_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_BROWSER_THREAD_MODEL_WORKER_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_BROWSER_THREAD_MODEL_WORKER_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_BROWSER_THREAD_MODEL_WORKER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "sync/internal_api/public/engine/model_safe_worker.h" 11 #include "components/sync/base/syncer_error.h"
12 #include "sync/internal_api/public/util/syncer_error.h" 12 #include "components/sync/engine/model_safe_worker.h"
13 13
14 namespace base { 14 namespace base {
15 class SingleThreadTaskRunner; 15 class SingleThreadTaskRunner;
16 class WaitableEvent; 16 class WaitableEvent;
17 } 17 }
18 18
19 namespace browser_sync { 19 namespace browser_sync {
20 20
21 // A syncer::ModelSafeWorker for models that accept requests from the 21 // A syncer::ModelSafeWorker for models that accept requests from the
22 // syncapi that need to be fulfilled on a browser thread, for example 22 // syncapi that need to be fulfilled on a browser thread, for example
(...skipping 26 matching lines...) Expand all
49 private: 49 private:
50 scoped_refptr<base::SingleThreadTaskRunner> runner_; 50 scoped_refptr<base::SingleThreadTaskRunner> runner_;
51 syncer::ModelSafeGroup group_; 51 syncer::ModelSafeGroup group_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(BrowserThreadModelWorker); 53 DISALLOW_COPY_AND_ASSIGN(BrowserThreadModelWorker);
54 }; 54 };
55 55
56 } // namespace browser_sync 56 } // namespace browser_sync
57 57
58 #endif // COMPONENTS_SYNC_DRIVER_GLUE_BROWSER_THREAD_MODEL_WORKER_H_ 58 #endif // COMPONENTS_SYNC_DRIVER_GLUE_BROWSER_THREAD_MODEL_WORKER_H_
OLDNEW
« no previous file with comments | « components/sync_driver/generic_change_processor_unittest.cc ('k') | components/sync_driver/glue/sync_backend_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698