Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: sync/engine/post_commit_message_command.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « sync/engine/post_commit_message_command.h ('k') | sync/engine/process_commit_response_command.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698