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

Unified Diff: chrome/browser/sync_file_system/sync_file_system_service.h

Issue 268413002: [SyncFS] Make DumpFiles async (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: work for a nit Created 6 years, 7 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/sync_file_system_service.h
diff --git a/chrome/browser/sync_file_system/sync_file_system_service.h b/chrome/browser/sync_file_system/sync_file_system_service.h
index 8831beb9d5d97ecec15fbfe124bc94d4c8032e58..0561a28fbe64ef7be58f90270167dbc2969df6fe 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service.h
+++ b/chrome/browser/sync_file_system/sync_file_system_service.h
@@ -48,7 +48,7 @@ class SyncFileSystemService
public content::NotificationObserver,
public base::SupportsWeakPtr<SyncFileSystemService> {
public:
- typedef base::Callback<void(const base::ListValue* files)> DumpFilesCallback;
+ typedef base::Callback<void(const base::ListValue&)> DumpFilesCallback;
// KeyedService overrides.
virtual void Shutdown() OVERRIDE;
@@ -103,6 +103,9 @@ class SyncFileSystemService
void DidInitializeFileSystemForDump(const GURL& app_origin,
const DumpFilesCallback& callback,
SyncStatusCode status);
+ void DidDumpFiles(const GURL& app_origin,
+ const DumpFilesCallback& callback,
+ scoped_ptr<base::ListValue> files);
// Overrides sync_enabled_ setting. This should be called only by tests.
void SetSyncEnabledForTesting(bool enabled);

Powered by Google App Engine
This is Rietveld 408576698