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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync_file_system/remote_file_provider.cc
diff --git a/chrome/browser/sync_file_system/remote_file_provider.cc b/chrome/browser/sync_file_system/remote_file_provider.cc
new file mode 100644
index 0000000000000000000000000000000000000000..801f77b35df1445a594cbd7359e6baf754dbc53f
--- /dev/null
+++ b/chrome/browser/sync_file_system/remote_file_provider.cc
@@ -0,0 +1,37 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/sync_file_system/remote_file_provider.h"
+
+#include "base/logging.h"
+
+namespace sync_file_system {
+
+RemoteChangeProcessor::RemoteChangeProcessor() {
+}
+
+RemoteChangeProcessor::~RemoteChangeProcessor() {
+}
+
+RemoteChangeProvider::RemoteChangeProvider(RemoteChangeProcessor* processor)
+ : processor_(processor) {
+ DCHECK(processor);
+}
+
+RemoteChangeProvider::~RemoteChangeProvider() {
+}
+
+void RemoteChangeProvider::NotifyChangeAvailable() {
+ processor_->OnRemoteChangeAvailable();
+}
+
+RemoteFileProvider::RemoteFileProvider(
+ scoped_ptr<RemoteChangeProvider> remote_change_provider)
+ : remote_change_provider_(remote_change_provider.Pass()) {
+}
+
+RemoteFileProvider::~RemoteFileProvider() {
+}
+
+} // namespace sync_file_system

Powered by Google App Engine
This is Rietveld 408576698