summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/notifier/state_writer.h
blob: 84ac16a15c1c7cd46d164b636d7dec12ff479ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2010 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 CHROME_BROWSER_SYNC_NOTIFIER_STATE_WRITER_H_
#define CHROME_BROWSER_SYNC_NOTIFIER_STATE_WRITER_H_
#pragma once

#include <string>

namespace sync_notifier {

class StateWriter {
 public:
  virtual ~StateWriter() {}

  virtual void WriteState(const std::string& state) = 0;
};

}  // sync_notifier

#endif  // CHROME_BROWSER_SYNC_NOTIFIER_STATE_WRITER_H_