| 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 #include "chrome/browser/sync/engine/post_commit_message_command.h" | 5 #include "sync/engine/post_commit_message_command.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "chrome/browser/sync/engine/syncer_proto_util.h" | 10 #include "sync/engine/syncer_proto_util.h" |
| 11 #include "chrome/browser/sync/engine/syncproto.h" | 11 #include "sync/engine/syncproto.h" |
| 12 #include "chrome/browser/sync/sessions/sync_session.h" | 12 #include "sync/sessions/sync_session.h" |
| 13 | 13 |
| 14 using std::vector; | 14 using std::vector; |
| 15 | 15 |
| 16 namespace browser_sync { | 16 namespace browser_sync { |
| 17 | 17 |
| 18 PostCommitMessageCommand::PostCommitMessageCommand() {} | 18 PostCommitMessageCommand::PostCommitMessageCommand() {} |
| 19 PostCommitMessageCommand::~PostCommitMessageCommand() {} | 19 PostCommitMessageCommand::~PostCommitMessageCommand() {} |
| 20 | 20 |
| 21 SyncerError PostCommitMessageCommand::ExecuteImpl( | 21 SyncerError PostCommitMessageCommand::ExecuteImpl( |
| 22 sessions::SyncSession* session) { | 22 sessions::SyncSession* session) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 40 } | 40 } |
| 41 return result; | 41 return result; |
| 42 } | 42 } |
| 43 | 43 |
| 44 status->set_items_committed(); | 44 status->set_items_committed(); |
| 45 status->mutable_commit_response()->CopyFrom(response); | 45 status->mutable_commit_response()->CopyFrom(response); |
| 46 return SYNCER_OK; | 46 return SYNCER_OK; |
| 47 } | 47 } |
| 48 | 48 |
| 49 } // namespace browser_sync | 49 } // namespace browser_sync |
| OLD | NEW |