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

Unified Diff: components/sync/api/fake_model_type_change_processor.cc

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/api/fake_model_type_change_processor.cc
diff --git a/components/sync/api/fake_model_type_change_processor.cc b/components/sync/api/fake_model_type_change_processor.cc
index cb9709bb552da28e2663f7d18d46a9ab9de86684..ee1bed8e9fe4e8f258c400d58b37a07bd7184d53 100644
--- a/components/sync/api/fake_model_type_change_processor.cc
+++ b/components/sync/api/fake_model_type_change_processor.cc
@@ -10,11 +10,11 @@
#include "components/sync/api/model_type_service.h"
#include "components/sync/api/sync_error.h"
-namespace syncer_v2 {
+namespace syncer {
// static
std::unique_ptr<ModelTypeChangeProcessor> FakeModelTypeChangeProcessor::Create(
- syncer::ModelType type,
+ ModelType type,
ModelTypeService* service) {
return base::WrapUnique(new FakeModelTypeChangeProcessor());
}
@@ -32,23 +32,23 @@ void FakeModelTypeChangeProcessor::Delete(
MetadataChangeList* metadata_change_list) {}
void FakeModelTypeChangeProcessor::OnMetadataLoaded(
- syncer::SyncError error,
+ SyncError error,
std::unique_ptr<MetadataBatch> batch) {}
void FakeModelTypeChangeProcessor::OnSyncStarting(
- std::unique_ptr<syncer::DataTypeErrorHandler> error_handler,
+ std::unique_ptr<DataTypeErrorHandler> error_handler,
const StartCallback& callback) {
if (!callback.is_null()) {
- callback.Run(syncer::SyncError(), nullptr);
+ callback.Run(SyncError(), nullptr);
}
}
void FakeModelTypeChangeProcessor::DisableSync() {}
-syncer::SyncError FakeModelTypeChangeProcessor::CreateAndUploadError(
+SyncError FakeModelTypeChangeProcessor::CreateAndUploadError(
const tracked_objects::Location& location,
const std::string& message) {
- return syncer::SyncError();
+ return SyncError();
}
-} // namespace syncer_v2
+} // namespace syncer
« no previous file with comments | « components/sync/api/fake_model_type_change_processor.h ('k') | components/sync/api/fake_model_type_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698