blob: 84abd171fe7dee43074e88f76f4923842d57cae5 [file] [log] [blame]
// Copyright (c) 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>
namespace syncer {
class StateWriter {
public:
virtual ~StateWriter() {}
virtual void WriteState(const std::string& state) = 0;
};
} // namespace syncer
#endif // SYNC_NOTIFIER_STATE_WRITER_H_