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

Unified Diff: sync/internal_api/public/base/invalidator_state.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: sync/internal_api/public/base/invalidator_state.h
diff --git a/sync/notifier/invalidator_state.h b/sync/internal_api/public/base/invalidator_state.h
similarity index 60%
rename from sync/notifier/invalidator_state.h
rename to sync/internal_api/public/base/invalidator_state.h
index bb4b3d615555eb81f1a9a94f3d1e5b57b9448a89..2e24542d43fe86ffcfa9999ab49dce91159c125e 100644
--- a/sync/notifier/invalidator_state.h
+++ b/sync/internal_api/public/base/invalidator_state.h
@@ -2,10 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_NOTIFIER_INVALIDATOR_STATE_H_
-#define SYNC_NOTIFIER_INVALIDATOR_STATE_H_
+#ifndef SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATOR_STATE_H_
+#define SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATOR_STATE_H_
-#include "jingle/notifier/listener/push_client_observer.h"
#include "sync/base/sync_export.h"
namespace syncer {
@@ -26,13 +25,6 @@ enum InvalidatorState {
SYNC_EXPORT const char* InvalidatorStateToString(InvalidatorState state);
-InvalidatorState FromNotifierReason(
- notifier::NotificationsDisabledReason reason);
-
-// Should not be called when |state| == INVALIDATIONS_ENABLED.
-SYNC_EXPORT_PRIVATE notifier::NotificationsDisabledReason
- ToNotifierReasonForTest(InvalidatorState state);
-
} // namespace syncer
-#endif // SYNC_NOTIFIER_INVALIDATOR_STATE_H_
+#endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATOR_STATE_H_
« no previous file with comments | « components/invalidation/sync_system_resources_unittest.cc ('k') | sync/internal_api/public/base/invalidator_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698