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

Unified Diff: components/sync/engine_impl/non_blocking_type_commit_contribution.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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
Index: components/sync/engine_impl/non_blocking_type_commit_contribution.h
diff --git a/components/sync/engine_impl/non_blocking_type_commit_contribution.h b/components/sync/engine_impl/non_blocking_type_commit_contribution.h
index 19b0797984472552b6af4b35f65718272a94537a..b6c24f0a83d2b656cb150328045176019cbd6276 100644
--- a/components/sync/engine_impl/non_blocking_type_commit_contribution.h
+++ b/components/sync/engine_impl/non_blocking_type_commit_contribution.h
@@ -14,7 +14,7 @@
#include "components/sync/engine_impl/commit_contribution.h"
#include "components/sync/protocol/sync.pb.h"
-namespace syncer {
+namespace syncer_v2 {
class ModelTypeWorker;
@@ -22,7 +22,7 @@ class ModelTypeWorker;
//
// Helps build a commit message and process its response. It collaborates
// closely with the ModelTypeWorker.
-class NonBlockingTypeCommitContribution : public CommitContribution {
+class NonBlockingTypeCommitContribution : public syncer::CommitContribution {
public:
NonBlockingTypeCommitContribution(
const sync_pb::DataTypeContext& context,
@@ -32,9 +32,9 @@ class NonBlockingTypeCommitContribution : public CommitContribution {
// Implementation of CommitContribution
void AddToCommitMessage(sync_pb::ClientToServerMessage* msg) override;
- SyncerError ProcessCommitResponse(
+ syncer::SyncerError ProcessCommitResponse(
const sync_pb::ClientToServerResponse& response,
- StatusController* status) override;
+ syncer::StatusController* status) override;
void CleanUp() override;
size_t GetNumEntries() const override;
@@ -59,6 +59,6 @@ class NonBlockingTypeCommitContribution : public CommitContribution {
DISALLOW_COPY_AND_ASSIGN(NonBlockingTypeCommitContribution);
};
-} // namespace syncer
+} // namespace syncer_v2
#endif // COMPONENTS_SYNC_ENGINE_IMPL_NON_BLOCKING_TYPE_COMMIT_CONTRIBUTION_H_

Powered by Google App Engine
This is Rietveld 408576698