Revert 215542 "[Telemetry] Add HTML output and make it the default."
[chromium-blink-merge.git] / sync / notifier / state_writer.h
blobb40bd45a2453aea1bf38600dc0673a0b43406d93
1 // Copyright 2012 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.
7 #ifndef SYNC_NOTIFIER_STATE_WRITER_H_
8 #define SYNC_NOTIFIER_STATE_WRITER_H_
10 #include <string>
12 #include "sync/base/sync_export.h"
14 namespace syncer {
16 class SYNC_EXPORT_PRIVATE StateWriter {
17 public:
18 virtual ~StateWriter() {}
20 virtual void WriteState(const std::string& state) = 0;
23 } // namespace syncer
25 #endif // SYNC_NOTIFIER_STATE_WRITER_H_