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

Side by Side Diff: sync/notifier/state_writer.h

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « sync/notifier/registration_manager.h ('k') | sync/notifier/sync_notifier_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Simple interface for something that persists state. 5 // Simple interface for something that persists state.
6 6
7 #ifndef SYNC_NOTIFIER_STATE_WRITER_H_ 7 #ifndef SYNC_NOTIFIER_STATE_WRITER_H_
8 #define SYNC_NOTIFIER_STATE_WRITER_H_ 8 #define SYNC_NOTIFIER_STATE_WRITER_H_
9 #pragma once
10 9
11 #include <string> 10 #include <string>
12 11
13 namespace syncer { 12 namespace syncer {
14 13
15 class StateWriter { 14 class StateWriter {
16 public: 15 public:
17 virtual ~StateWriter() {} 16 virtual ~StateWriter() {}
18 17
19 virtual void WriteState(const std::string& state) = 0; 18 virtual void WriteState(const std::string& state) = 0;
20 }; 19 };
21 20
22 } // namespace syncer 21 } // namespace syncer
23 22
24 #endif // SYNC_NOTIFIER_STATE_WRITER_H_ 23 #endif // SYNC_NOTIFIER_STATE_WRITER_H_
OLDNEW
« no previous file with comments | « sync/notifier/registration_manager.h ('k') | sync/notifier/sync_notifier_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698