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

Unified Diff: components/sync/driver/change_processor.cc

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. Created 4 years, 2 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
« no previous file with comments | « components/sync/driver/change_processor.h ('k') | components/sync/driver/change_processor_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/change_processor.cc
diff --git a/components/sync/driver/change_processor.cc b/components/sync/driver/change_processor.cc
index 116b170c782da4a65f9dc34b2608d12a39920dda..128494741589169ba51881b60ad769bf8ec2d5db 100644
--- a/components/sync/driver/change_processor.cc
+++ b/components/sync/driver/change_processor.cc
@@ -6,15 +6,15 @@
#include <utility>
-namespace sync_driver {
+namespace syncer {
ChangeProcessor::ChangeProcessor(
- std::unique_ptr<syncer::DataTypeErrorHandler> error_handler)
+ std::unique_ptr<DataTypeErrorHandler> error_handler)
: error_handler_(std::move(error_handler)), share_handle_(NULL) {}
ChangeProcessor::~ChangeProcessor() {}
-void ChangeProcessor::Start(syncer::UserShare* share_handle) {
+void ChangeProcessor::Start(UserShare* share_handle) {
DCHECK(!share_handle_);
share_handle_ = share_handle;
StartImpl();
@@ -23,12 +23,12 @@ void ChangeProcessor::Start(syncer::UserShare* share_handle) {
// Not implemented by default.
void ChangeProcessor::CommitChangesFromSyncModel() {}
-syncer::DataTypeErrorHandler* ChangeProcessor::error_handler() const {
+DataTypeErrorHandler* ChangeProcessor::error_handler() const {
return error_handler_.get();
}
-syncer::UserShare* ChangeProcessor::share_handle() const {
+UserShare* ChangeProcessor::share_handle() const {
return share_handle_;
}
-} // namespace sync_driver
+} // namespace syncer
« no previous file with comments | « components/sync/driver/change_processor.h ('k') | components/sync/driver/change_processor_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698