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

Unified Diff: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc

Issue 321783002: [SyncFS] Drop PostTaskAndReply from LocalToRemoteSyncer (5) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
index ccdb1e2b65c36a020ee983436602b740bf68930e..80f26162462905aee2608744f7cfcd6b38b985de 100644
--- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
+++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
@@ -74,19 +74,6 @@ scoped_ptr<FileMetadata> GetFileMetadata(MetadataDatabase* database,
return metadata.Pass();
}
-template <typename R, typename S, typename T>
-R ComposeFunction(const base::Callback<T()>& g,
- const base::Callback<R(S)>& f) {
- return f.Run(g.Run());
-}
-
-template <typename R, typename S, typename T>
-base::Callback<R()> CreateComposedFunction(
- const base::Callback<T()>& g,
- const base::Callback<R(S)>& f) {
- return base::Bind(&ComposeFunction<R, S, T>, g, f);
-}
-
} // namespace
RemoteToLocalSyncer::RemoteToLocalSyncer(SyncEngineContext* sync_context)
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698