OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_SYNC_ENGINE_POST_COMMIT_MESSAGE_COMMAND_H_ | 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_POST_COMMIT_MESSAGE_COMMAND_H_ |
6 #define CHROME_BROWSER_SYNC_ENGINE_POST_COMMIT_MESSAGE_COMMAND_H_ | 6 #define CHROME_BROWSER_SYNC_ENGINE_POST_COMMIT_MESSAGE_COMMAND_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include "base/compiler_specific.h" |
9 #include "chrome/browser/sync/engine/syncer_command.h" | 10 #include "chrome/browser/sync/engine/syncer_command.h" |
10 | 11 |
11 namespace browser_sync { | 12 namespace browser_sync { |
12 | 13 |
13 class PostCommitMessageCommand : public SyncerCommand { | 14 class PostCommitMessageCommand : public SyncerCommand { |
14 public: | 15 public: |
15 PostCommitMessageCommand(); | 16 PostCommitMessageCommand(); |
16 virtual ~PostCommitMessageCommand(); | 17 virtual ~PostCommitMessageCommand(); |
17 | 18 |
18 // SyncerCommand implementation. | 19 // SyncerCommand implementation. |
19 virtual void ExecuteImpl(sessions::SyncSession* session); | 20 virtual void ExecuteImpl(sessions::SyncSession* session) OVERRIDE; |
20 | 21 |
21 private: | 22 private: |
22 DISALLOW_COPY_AND_ASSIGN(PostCommitMessageCommand); | 23 DISALLOW_COPY_AND_ASSIGN(PostCommitMessageCommand); |
23 }; | 24 }; |
24 | 25 |
25 } // namespace browser_sync | 26 } // namespace browser_sync |
26 | 27 |
27 #endif // CHROME_BROWSER_SYNC_ENGINE_POST_COMMIT_MESSAGE_COMMAND_H_ | 28 #endif // CHROME_BROWSER_SYNC_ENGINE_POST_COMMIT_MESSAGE_COMMAND_H_ |
OLD | NEW |