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

Unified Diff: chrome/browser/sync/glue/ui_model_worker.h

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 6 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: chrome/browser/sync/glue/ui_model_worker.h
diff --git a/chrome/browser/sync/glue/ui_model_worker.h b/chrome/browser/sync/glue/ui_model_worker.h
index df0e0fb08af751238d0ae19e926f21c48d307234..7f60405105f8e5cb548582a0db48be370b77cf12 100644
--- a/chrome/browser/sync/glue/ui_model_worker.h
+++ b/chrome/browser/sync/glue/ui_model_worker.h
@@ -17,7 +17,7 @@ class MessageLoop;
namespace browser_sync {
-// A csync::ModelSafeWorker for UI models (e.g. bookmarks) that
+// A syncer::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.
//
@@ -25,7 +25,7 @@ namespace browser_sync {
// SyncerThread. When the SyncerThread _object_ is destroyed, the
// UIModelWorker will be destroyed. The SyncerThread object is destroyed
// after the actual syncer pthread has exited.
-class UIModelWorker : public csync::ModelSafeWorker {
+class UIModelWorker : public syncer::ModelSafeWorker {
public:
UIModelWorker();
@@ -35,12 +35,12 @@ class UIModelWorker : public csync::ModelSafeWorker {
// processed and that syncapi will not schedule any further work for us to do.
void Stop();
- // csync::ModelSafeWorker implementation. Called on syncapi SyncerThread.
- virtual csync::SyncerError DoWorkAndWaitUntilDone(
- const csync::WorkCallback& work) OVERRIDE;
- virtual csync::ModelSafeGroup GetModelSafeGroup() OVERRIDE;
+ // syncer::ModelSafeWorker implementation. Called on syncapi SyncerThread.
+ virtual syncer::SyncerError DoWorkAndWaitUntilDone(
+ const syncer::WorkCallback& work) OVERRIDE;
+ virtual syncer::ModelSafeGroup GetModelSafeGroup() OVERRIDE;
- // Upon receiving this idempotent call, the csync::ModelSafeWorker can
+ // Upon receiving this idempotent call, the syncer::ModelSafeWorker can
// assume no work will ever be scheduled again from now on. If it has any work
// that it has not yet completed, it must make sure to run it as soon as
// possible as the Syncer is trying to shut down. Called from the CoreThread.
« no previous file with comments | « chrome/browser/sync/glue/ui_data_type_controller_unittest.cc ('k') | chrome/browser/sync/glue/ui_model_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698