| OLD | NEW |
| 1 // Copyright (c) 2011 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 #include "chrome/browser/sync/engine/post_commit_message_command.h" | 5 #include "chrome/browser/sync/engine/post_commit_message_command.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/tracked.h" | 9 #include "base/location.h" |
| 10 #include "chrome/browser/sync/engine/syncer_proto_util.h" | 10 #include "chrome/browser/sync/engine/syncer_proto_util.h" |
| 11 #include "chrome/browser/sync/engine/syncproto.h" | 11 #include "chrome/browser/sync/engine/syncproto.h" |
| 12 #include "chrome/browser/sync/sessions/sync_session.h" | 12 #include "chrome/browser/sync/sessions/sync_session.h" |
| 13 #include "chrome/browser/sync/syncable/directory_manager.h" | 13 #include "chrome/browser/sync/syncable/directory_manager.h" |
| 14 | 14 |
| 15 using std::vector; | 15 using std::vector; |
| 16 | 16 |
| 17 namespace browser_sync { | 17 namespace browser_sync { |
| 18 | 18 |
| 19 PostCommitMessageCommand::PostCommitMessageCommand() {} | 19 PostCommitMessageCommand::PostCommitMessageCommand() {} |
| (...skipping 22 matching lines...) Expand all Loading... |
| 42 entry.Put(syncable::SYNCING, false); | 42 entry.Put(syncable::SYNCING, false); |
| 43 } | 43 } |
| 44 return; | 44 return; |
| 45 } else { | 45 } else { |
| 46 status->set_items_committed(); | 46 status->set_items_committed(); |
| 47 } | 47 } |
| 48 status->mutable_commit_response()->CopyFrom(response); | 48 status->mutable_commit_response()->CopyFrom(response); |
| 49 } | 49 } |
| 50 | 50 |
| 51 } // namespace browser_sync | 51 } // namespace browser_sync |
| OLD | NEW |