OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/sync/engine/model_changing_syncer_command.h" |
| 6 |
| 7 #include "chrome/browser/sync/engine/model_safe_worker.h" |
| 8 #include "chrome/browser/sync/engine/syncer_session.h" |
| 9 #include "chrome/browser/sync/util/closure.h" |
| 10 |
| 11 namespace browser_sync { |
| 12 |
| 13 void ModelChangingSyncerCommand::ExecuteImpl(SyncerSession *session) { |
| 14 work_session_ = session; |
| 15 session->model_safe_worker()->DoWorkAndWaitUntilDone( |
| 16 NewCallback(this, &ModelChangingSyncerCommand::StartChangingModel)); |
| 17 } |
| 18 |
| 19 } // namespace browser_sync |
OLD | NEW |