OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_BUILD_COMMIT_COMMAND_H_ | 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_ |
6 #define CHROME_BROWSER_SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_ | 6 #define CHROME_BROWSER_SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "chrome/browser/sync/engine/syncer_command.h" | 9 #include "chrome/browser/sync/engine/syncer_command.h" |
10 #include "chrome/browser/sync/engine/syncer_session.h" | 10 #include "chrome/browser/sync/engine/syncer_session.h" |
11 | 11 |
12 namespace browser_sync { | 12 namespace browser_sync { |
13 | 13 |
14 class BuildCommitCommand : public SyncerCommand { | 14 class BuildCommitCommand : public SyncerCommand { |
15 public: | 15 public: |
16 BuildCommitCommand(); | 16 BuildCommitCommand(); |
17 virtual ~BuildCommitCommand(); | 17 virtual ~BuildCommitCommand(); |
18 | 18 |
19 virtual void ExecuteImpl(SyncerSession *session); | 19 virtual void ExecuteImpl(SyncerSession *session); |
20 | 20 |
21 private: | 21 private: |
22 void AddExtensionsActivityToMessage(SyncerSession* session, | |
23 CommitMessage* message); | |
24 DISALLOW_COPY_AND_ASSIGN(BuildCommitCommand); | 22 DISALLOW_COPY_AND_ASSIGN(BuildCommitCommand); |
25 }; | 23 }; |
26 | 24 |
27 } // namespace browser_sync | 25 } // namespace browser_sync |
28 | 26 |
29 #endif // CHROME_BROWSER_SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_ | 27 #endif // CHROME_BROWSER_SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_ |
OLD | NEW |