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

Unified Diff: components/sync/driver/glue/ui_model_worker.h

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: components/sync/driver/glue/ui_model_worker.h
diff --git a/components/sync/driver/glue/ui_model_worker.h b/components/sync/driver/glue/ui_model_worker.h
index b603246af42337c09aa73ada31830398c7c3289a..ea9d9cb7aff930128bddba1646ac25925b0cb3ae 100644
--- a/components/sync/driver/glue/ui_model_worker.h
+++ b/components/sync/driver/glue/ui_model_worker.h
@@ -14,23 +14,22 @@
#include "components/sync/base/unrecoverable_error_info.h"
#include "components/sync/engine/model_safe_worker.h"
-namespace browser_sync {
+namespace syncer {
-// A syncer::ModelSafeWorker for UI models (e.g. bookmarks) that
+// A ModelSafeWorker for UI models (e.g. bookmarks) that
// accepts work requests from the syncapi that need to be fulfilled
// from the MessageLoop home to the native model.
-class UIModelWorker : public syncer::ModelSafeWorker {
+class UIModelWorker : public ModelSafeWorker {
public:
UIModelWorker(const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
- syncer::WorkerLoopDestructionObserver* observer);
+ WorkerLoopDestructionObserver* observer);
- // syncer::ModelSafeWorker implementation. Called on syncapi SyncerThread.
+ // ModelSafeWorker implementation. Called on syncapi SyncerThread.
void RegisterForLoopDestruction() override;
- syncer::ModelSafeGroup GetModelSafeGroup() override;
+ ModelSafeGroup GetModelSafeGroup() override;
protected:
- syncer::SyncerError DoWorkAndWaitUntilDoneImpl(
- const syncer::WorkCallback& work) override;
+ SyncerError DoWorkAndWaitUntilDoneImpl(const WorkCallback& work) override;
private:
~UIModelWorker() override;
@@ -41,6 +40,6 @@ class UIModelWorker : public syncer::ModelSafeWorker {
DISALLOW_COPY_AND_ASSIGN(UIModelWorker);
};
-} // namespace browser_sync
+} // namespace syncer
#endif // COMPONENTS_SYNC_DRIVER_GLUE_UI_MODEL_WORKER_H_
« no previous file with comments | « components/sync/driver/glue/sync_backend_registrar_unittest.cc ('k') | components/sync/driver/glue/ui_model_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698