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

Side by Side Diff: components/invalidation/state_writer.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // Simple interface for something that persists state.
6
7 #ifndef COMPONENTS_INVALIDATION_STATE_WRITER_H_
8 #define COMPONENTS_INVALIDATION_STATE_WRITER_H_
9
10 #include <string>
11
12 #include "components/invalidation/invalidation_export.h"
13
14 namespace syncer {
15
16 class INVALIDATION_EXPORT_PRIVATE StateWriter {
17 public:
18 virtual ~StateWriter() {}
19
20 virtual void WriteState(const std::string& state) = 0;
21 };
22
23 } // namespace syncer
24
25 #endif // COMPONENTS_INVALIDATION_STATE_WRITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698