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

Side by Side Diff: sync/engine/store_timestamps_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
« no previous file with comments | « sync/engine/store_timestamps_command.h ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/store_timestamps_command.h" 5 #include "sync/engine/store_timestamps_command.h"
6 6
7 #include "chrome/browser/sync/sessions/status_controller.h" 7 #include "sync/sessions/status_controller.h"
8 #include "chrome/browser/sync/sessions/sync_session.h" 8 #include "sync/sessions/sync_session.h"
9 #include "chrome/browser/sync/syncable/model_type.h" 9 #include "sync/syncable/model_type.h"
10 #include "chrome/browser/sync/syncable/syncable.h" 10 #include "sync/syncable/syncable.h"
11 11
12 namespace browser_sync { 12 namespace browser_sync {
13 13
14 StoreTimestampsCommand::StoreTimestampsCommand() {} 14 StoreTimestampsCommand::StoreTimestampsCommand() {}
15 StoreTimestampsCommand::~StoreTimestampsCommand() {} 15 StoreTimestampsCommand::~StoreTimestampsCommand() {}
16 16
17 SyncerError StoreTimestampsCommand::ExecuteImpl( 17 SyncerError StoreTimestampsCommand::ExecuteImpl(
18 sessions::SyncSession* session) { 18 sessions::SyncSession* session) {
19 syncable::Directory* dir = session->context()->directory(); 19 syncable::Directory* dir = session->context()->directory();
20 20
(...skipping 29 matching lines...) Expand all
50 if (updates.has_changes_remaining()) { 50 if (updates.has_changes_remaining()) {
51 int64 changes_left = updates.changes_remaining(); 51 int64 changes_left = updates.changes_remaining();
52 DVLOG(1) << "Changes remaining: " << changes_left; 52 DVLOG(1) << "Changes remaining: " << changes_left;
53 status->set_num_server_changes_remaining(changes_left); 53 status->set_num_server_changes_remaining(changes_left);
54 } 54 }
55 55
56 return SYNCER_OK; 56 return SYNCER_OK;
57 } 57 }
58 58
59 } // namespace browser_sync 59 } // namespace browser_sync
OLDNEW
« no previous file with comments | « sync/engine/store_timestamps_command.h ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698