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

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

Issue 6995007: iwyu: Use callback_old.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/callback.h" 7 #include "base/callback_old.h"
8 #include "chrome/browser/sync/engine/model_safe_worker.h" 8 #include "chrome/browser/sync/engine/model_safe_worker.h"
9 #include "chrome/browser/sync/sessions/status_controller.h" 9 #include "chrome/browser/sync/sessions/status_controller.h"
10 #include "chrome/browser/sync/sessions/sync_session.h" 10 #include "chrome/browser/sync/sessions/sync_session.h"
11 11
12 namespace browser_sync { 12 namespace browser_sync {
13 13
14 void ModelChangingSyncerCommand::ExecuteImpl(sessions::SyncSession* session) { 14 void ModelChangingSyncerCommand::ExecuteImpl(sessions::SyncSession* session) {
15 work_session_ = session; 15 work_session_ = session;
16 if (!ModelNeutralExecuteImpl(work_session_)) { 16 if (!ModelNeutralExecuteImpl(work_session_)) {
17 return; 17 return;
(...skipping 10 matching lines...) Expand all
28 worker->DoWorkAndWaitUntilDone(c.get()); 28 worker->DoWorkAndWaitUntilDone(c.get());
29 } 29 }
30 } 30 }
31 31
32 bool ModelChangingSyncerCommand::ModelNeutralExecuteImpl( 32 bool ModelChangingSyncerCommand::ModelNeutralExecuteImpl(
33 sessions::SyncSession* session) { 33 sessions::SyncSession* session) {
34 return true; 34 return true;
35 } 35 }
36 36
37 } // namespace browser_sync 37 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sessions/base_session_service.h ('k') | chrome/browser/sync/engine/model_safe_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698