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

Unified Diff: chrome/browser/chromeos/gdata/gdata_test_util.cc

Issue 10827211: Replace GDataDirectory::TakeEntry with GDataDirectoryService::AddEntryToDirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: better tests Created 8 years, 4 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/chromeos/gdata/gdata_test_util.cc
===================================================================
--- chrome/browser/chromeos/gdata/gdata_test_util.cc (revision 150627)
+++ chrome/browser/chromeos/gdata/gdata_test_util.cc (working copy)
@@ -69,6 +69,18 @@
*output = error;
}
+void CopyResultsFromFileMoveCallback(
+ GDataFileError* out_error,
+ FilePath* out_file_path,
+ GDataFileError error,
+ const FilePath& moved_file_path) {
+ DCHECK(out_error);
+ DCHECK(out_file_path);
+
+ *out_error = error;
+ *out_file_path = moved_file_path;
+}
+
void CopyResultsFromGetEntryInfoCallback(
GDataFileError* out_error,
scoped_ptr<GDataEntryProto>* out_entry_proto,

Powered by Google App Engine
This is Rietveld 408576698