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

Unified Diff: components/sync/driver/invalidation_adapter.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/driver/invalidation_adapter.h
diff --git a/components/sync/driver/invalidation_adapter.h b/components/sync/driver/invalidation_adapter.h
index cf7212c2e894e120cc909a9d8c2f24da2bf1d0ea..da86af1904c8f001bf86688ef822d221f5b1c554 100644
--- a/components/sync/driver/invalidation_adapter.h
+++ b/components/sync/driver/invalidation_adapter.h
@@ -12,12 +12,12 @@
#include "components/invalidation/public/invalidation.h"
#include "components/sync/base/invalidation_interface.h"
-namespace syncer {
+namespace browser_sync {
-// Wraps a Invalidation in the InvalidationInterface.
-class InvalidationAdapter : public InvalidationInterface {
+// Wraps a syncer::Invalidation in the syncer::InvalidationInterface.
+class InvalidationAdapter : public syncer::InvalidationInterface {
public:
- explicit InvalidationAdapter(const Invalidation& invalidation);
+ explicit InvalidationAdapter(const syncer::Invalidation& invalidation);
~InvalidationAdapter() override;
// Implementation of InvalidationInterface.
@@ -28,9 +28,9 @@ class InvalidationAdapter : public InvalidationInterface {
void Drop() override;
private:
- Invalidation invalidation_;
+ syncer::Invalidation invalidation_;
};
-} // namespace syncer
+} // namespace browser_sync
#endif // COMPONENTS_SYNC_DRIVER_INVALIDATION_ADAPTER_H_
« no previous file with comments | « components/sync/driver/glue/ui_model_worker_unittest.cc ('k') | components/sync/driver/invalidation_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698