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

Unified Diff: sync/notifier/state_writer.h

Issue 308413002: Revert of Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « sync/notifier/push_client_channel_unittest.cc ('k') | sync/notifier/sync_invalidation_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/state_writer.h
diff --git a/sync/notifier/state_writer.h b/sync/notifier/state_writer.h
new file mode 100644
index 0000000000000000000000000000000000000000..b40bd45a2453aea1bf38600dc0673a0b43406d93
--- /dev/null
+++ b/sync/notifier/state_writer.h
@@ -0,0 +1,25 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Simple interface for something that persists state.
+
+#ifndef SYNC_NOTIFIER_STATE_WRITER_H_
+#define SYNC_NOTIFIER_STATE_WRITER_H_
+
+#include <string>
+
+#include "sync/base/sync_export.h"
+
+namespace syncer {
+
+class SYNC_EXPORT_PRIVATE StateWriter {
+ public:
+ virtual ~StateWriter() {}
+
+ virtual void WriteState(const std::string& state) = 0;
+};
+
+} // namespace syncer
+
+#endif // SYNC_NOTIFIER_STATE_WRITER_H_
« no previous file with comments | « sync/notifier/push_client_channel_unittest.cc ('k') | sync/notifier/sync_invalidation_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698