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

Side by Side Diff: chrome/browser/sync_file_system/remote_file_provider.cc

Issue 11187021: Add RemoteFileSyncService interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 8 years, 2 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698