OLD | NEW |
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 #ifndef CHROME_BROWSER_SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_ | 5 #ifndef SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_ |
6 #define CHROME_BROWSER_SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_ | 6 #define SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "chrome/browser/sync/engine/model_changing_syncer_command.h" | 14 #include "sync/engine/model_changing_syncer_command.h" |
15 #include "chrome/browser/sync/engine/syncproto.h" | 15 #include "sync/engine/syncproto.h" |
16 | 16 |
17 namespace syncable { | 17 namespace syncable { |
18 class Id; | 18 class Id; |
19 class WriteTransaction; | 19 class WriteTransaction; |
20 class MutableEntry; | 20 class MutableEntry; |
21 } | 21 } |
22 | 22 |
23 namespace browser_sync { | 23 namespace browser_sync { |
24 | 24 |
25 class ProcessCommitResponseCommand : public ModelChangingSyncerCommand { | 25 class ProcessCommitResponseCommand : public ModelChangingSyncerCommand { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // Helper to extract the final name from the protobufs. | 91 // Helper to extract the final name from the protobufs. |
92 const std::string& GetResultingPostCommitName( | 92 const std::string& GetResultingPostCommitName( |
93 const sync_pb::SyncEntity& committed_entry, | 93 const sync_pb::SyncEntity& committed_entry, |
94 const CommitResponse_EntryResponse& entry_response); | 94 const CommitResponse_EntryResponse& entry_response); |
95 | 95 |
96 DISALLOW_COPY_AND_ASSIGN(ProcessCommitResponseCommand); | 96 DISALLOW_COPY_AND_ASSIGN(ProcessCommitResponseCommand); |
97 }; | 97 }; |
98 | 98 |
99 } // namespace browser_sync | 99 } // namespace browser_sync |
100 | 100 |
101 #endif // CHROME_BROWSER_SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_ | 101 #endif // SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_ |
OLD | NEW |