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

Side by Side Diff: chrome/browser/sync/engine/model_changing_syncer_command.cc

Issue 386030: Relieve SyncerSession,SyncCycleState, SyncProcessState, SyncerSession, Syncer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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/model_changing_syncer_command.h" 5 #include "chrome/browser/sync/engine/model_changing_syncer_command.h"
6 6
7 #include "chrome/browser/sync/engine/model_safe_worker.h" 7 #include "chrome/browser/sync/engine/model_safe_worker.h"
8 #include "chrome/browser/sync/engine/syncer_session.h" 8 #include "chrome/browser/sync/sessions/sync_session.h"
9 #include "chrome/browser/sync/util/closure.h" 9 #include "chrome/browser/sync/util/closure.h"
10 10
11 namespace browser_sync { 11 namespace browser_sync {
12 12
13 void ModelChangingSyncerCommand::ExecuteImpl(SyncerSession* session) { 13 void ModelChangingSyncerCommand::ExecuteImpl(sessions::SyncSession* session) {
14 work_session_ = session; 14 work_session_ = session;
15 session->model_safe_worker()->DoWorkAndWaitUntilDone( 15 session->context()->model_safe_worker()->DoWorkAndWaitUntilDone(
16 NewCallback(this, &ModelChangingSyncerCommand::StartChangingModel)); 16 NewCallback(this, &ModelChangingSyncerCommand::StartChangingModel));
17 } 17 }
18 18
19 } // namespace browser_sync 19 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/model_changing_syncer_command.h ('k') | chrome/browser/sync/engine/post_commit_message_command.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698