OLD | NEW |
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/model_changing_syncer_command.h" | 5 #include "sync/engine/model_changing_syncer_command.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
10 #include "chrome/browser/sync/sessions/status_controller.h" | 10 #include "sync/sessions/status_controller.h" |
11 #include "chrome/browser/sync/sessions/sync_session.h" | 11 #include "sync/sessions/sync_session.h" |
12 | 12 |
13 namespace browser_sync { | 13 namespace browser_sync { |
14 | 14 |
15 SyncerError ModelChangingSyncerCommand::ExecuteImpl( | 15 SyncerError ModelChangingSyncerCommand::ExecuteImpl( |
16 sessions::SyncSession* session) { | 16 sessions::SyncSession* session) { |
17 work_session_ = session; | 17 work_session_ = session; |
18 SyncerError result = ModelNeutralExecuteImpl(work_session_); | 18 SyncerError result = ModelNeutralExecuteImpl(work_session_); |
19 | 19 |
20 if (result != SYNCER_OK) | 20 if (result != SYNCER_OK) |
21 return result; | 21 return result; |
(...skipping 28 matching lines...) Expand all Loading... |
50 | 50 |
51 return result; | 51 return result; |
52 } | 52 } |
53 | 53 |
54 SyncerError ModelChangingSyncerCommand::ModelNeutralExecuteImpl( | 54 SyncerError ModelChangingSyncerCommand::ModelNeutralExecuteImpl( |
55 sessions::SyncSession* session) { | 55 sessions::SyncSession* session) { |
56 return SYNCER_OK; | 56 return SYNCER_OK; |
57 } | 57 } |
58 | 58 |
59 } // namespace browser_sync | 59 } // namespace browser_sync |
OLD | NEW |