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

Unified Diff: components/invalidation/impl/p2p_invalidator.h

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 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: components/invalidation/impl/p2p_invalidator.h
diff --git a/components/invalidation/p2p_invalidator.h b/components/invalidation/impl/p2p_invalidator.h
similarity index 90%
rename from components/invalidation/p2p_invalidator.h
rename to components/invalidation/impl/p2p_invalidator.h
index b34c4a90108f72a7cb05c4701ebe4de2b9e6ca2f..b7bc4622ebdc6ef149e5a9afaf8eb6797fe57943 100644
--- a/components/invalidation/p2p_invalidator.h
+++ b/components/invalidation/impl/p2p_invalidator.h
@@ -5,8 +5,8 @@
// An invalidator that uses p2p invalidations based on XMPP push
// notifications. Used only for sync integration tests.
-#ifndef COMPONENTS_INVALIDATION_P2P_INVALIDATOR_H_
-#define COMPONENTS_INVALIDATION_P2P_INVALIDATOR_H_
+#ifndef COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATOR_H_
+#define COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATOR_H_
#include <string>
@@ -16,11 +16,11 @@
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/threading/thread_checker.h"
-#include "components/invalidation/invalidation_export.h"
-#include "components/invalidation/invalidator.h"
-#include "components/invalidation/invalidator_registrar.h"
-#include "components/invalidation/invalidator_state.h"
-#include "components/invalidation/object_id_invalidation_map.h"
+#include "components/invalidation/impl/invalidator.h"
+#include "components/invalidation/impl/invalidator_registrar.h"
+#include "components/invalidation/public/invalidation_export.h"
+#include "components/invalidation/public/invalidator_state.h"
+#include "components/invalidation/public/object_id_invalidation_map.h"
#include "jingle/notifier/base/notifier_options.h"
#include "jingle/notifier/listener/push_client.h"
#include "jingle/notifier/listener/push_client_observer.h"
@@ -145,4 +145,4 @@ class INVALIDATION_EXPORT_PRIVATE P2PInvalidator
} // namespace syncer
-#endif // COMPONENTS_INVALIDATION_P2P_INVALIDATOR_H_
+#endif // COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATOR_H_
« no previous file with comments | « components/invalidation/impl/p2p_invalidation_service.cc ('k') | components/invalidation/impl/p2p_invalidator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698