| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_file_system/drive_backend/local_to_remote_syncer.h
" | 5 #include "chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h
" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 namespace sync_file_system { | 10 namespace sync_file_system { |
| 11 namespace drive_backend { | 11 namespace drive_backend { |
| 12 | 12 |
| 13 LocalToRemoteSyncer::LocalToRemoteSyncer() { | 13 LocalToRemoteSyncer::LocalToRemoteSyncer(SyncEngineContext* sync_context) |
| 14 : sync_context_(sync_context), |
| 15 weak_ptr_factory_(this) { |
| 14 NOTIMPLEMENTED(); | 16 NOTIMPLEMENTED(); |
| 15 } | 17 } |
| 16 | 18 |
| 17 LocalToRemoteSyncer::~LocalToRemoteSyncer() { | 19 LocalToRemoteSyncer::~LocalToRemoteSyncer() { |
| 18 NOTIMPLEMENTED(); | 20 NOTIMPLEMENTED(); |
| 19 } | 21 } |
| 20 | 22 |
| 21 void LocalToRemoteSyncer::Run(const SyncStatusCallback& callback) { | 23 void LocalToRemoteSyncer::Run(const SyncStatusCallback& callback) { |
| 22 NOTIMPLEMENTED(); | 24 NOTIMPLEMENTED(); |
| 23 callback.Run(SYNC_STATUS_FAILED); | 25 callback.Run(SYNC_STATUS_FAILED); |
| 24 } | 26 } |
| 25 | 27 |
| 26 } // namespace drive_backend | 28 } // namespace drive_backend |
| 27 } // namespace sync_file_system | 29 } // namespace sync_file_system |
| OLD | NEW |