OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/sync_file_system/remote_file_provider.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 |
| 9 namespace sync_file_system { |
| 10 |
| 11 RemoteChangeProcessor::RemoteChangeProcessor() { |
| 12 } |
| 13 |
| 14 RemoteChangeProcessor::~RemoteChangeProcessor() { |
| 15 } |
| 16 |
| 17 RemoteChangeProvider::RemoteChangeProvider(RemoteChangeProcessor* processor) |
| 18 : processor_(processor) { |
| 19 DCHECK(processor); |
| 20 } |
| 21 |
| 22 RemoteChangeProvider::~RemoteChangeProvider() { |
| 23 } |
| 24 |
| 25 void RemoteChangeProvider::NotifyChangeAvailable() { |
| 26 processor_->OnRemoteChangeAvailable(); |
| 27 } |
| 28 |
| 29 RemoteFileProvider::RemoteFileProvider( |
| 30 scoped_ptr<RemoteChangeProvider> remote_change_provider) |
| 31 : remote_change_provider_(remote_change_provider.Pass()) { |
| 32 } |
| 33 |
| 34 RemoteFileProvider::~RemoteFileProvider() { |
| 35 } |
| 36 |
| 37 } // namespace sync_file_system |
OLD | NEW |