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

Unified Diff: components/invalidation/non_blocking_invalidator.h

Issue 294123004: Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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/non_blocking_invalidator.h
diff --git a/sync/notifier/non_blocking_invalidator.h b/components/invalidation/non_blocking_invalidator.h
similarity index 90%
rename from sync/notifier/non_blocking_invalidator.h
rename to components/invalidation/non_blocking_invalidator.h
index efdf89d5d09b4f395859812e187ab055c8c80e8b..e0f579c0cd3e3e28e97daaad87e64bcdc0ef1f11 100644
--- a/sync/notifier/non_blocking_invalidator.h
+++ b/components/invalidation/non_blocking_invalidator.h
@@ -5,8 +5,8 @@
// An implementation of SyncNotifier that wraps InvalidationNotifier
// on its own thread.
-#ifndef SYNC_NOTIFIER_NON_BLOCKING_INVALIDATOR_H_
-#define SYNC_NOTIFIER_NON_BLOCKING_INVALIDATOR_H_
+#ifndef COMPONENTS_INVALIDATION_NON_BLOCKING_INVALIDATOR_H_
+#define COMPONENTS_INVALIDATION_NON_BLOCKING_INVALIDATOR_H_
#include <string>
@@ -15,12 +15,12 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "components/invalidation/invalidation_export.h"
+#include "components/invalidation/invalidator_registrar.h"
#include "jingle/notifier/base/notifier_options.h"
-#include "sync/base/sync_export.h"
+#include "sync/internal_api/public/base/invalidator_state.h"
#include "sync/notifier/invalidation_state_tracker.h"
#include "sync/notifier/invalidator.h"
-#include "sync/notifier/invalidator_registrar.h"
-#include "sync/notifier/invalidator_state.h"
#include "sync/notifier/unacked_invalidation_set.h"
namespace base {
@@ -36,7 +36,7 @@ class GCMNetworkChannelDelegate;
typedef base::Callback<scoped_ptr<SyncNetworkChannel>(void)>
NetworkChannelCreator;
-class SYNC_EXPORT_PRIVATE NonBlockingInvalidator
+class INVALIDATION_EXPORT_PRIVATE NonBlockingInvalidator
: public Invalidator,
public InvalidationStateTracker {
public:
@@ -111,4 +111,4 @@ class SYNC_EXPORT_PRIVATE NonBlockingInvalidator
} // namespace syncer
-#endif // SYNC_NOTIFIER_NON_BLOCKING_INVALIDATOR_H_
+#endif // COMPONENTS_INVALIDATION_NON_BLOCKING_INVALIDATOR_H_
« no previous file with comments | « components/invalidation/invalidator_test_template.cc ('k') | components/invalidation/non_blocking_invalidator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698