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

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

Issue 10823427: gdata: Change callback type of GDataDirectoryService::GetEntryInfoByResourceId() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
diff --git a/chrome/browser/chromeos/gdata/gdata_test_util.cc b/chrome/browser/chromeos/gdata/gdata_test_util.cc
index e0ddb0279c63e43a471d981a3c33018d327a8c7f..08573b69a5996656f3a8d9af643d63bbcc752ec7 100644
--- a/chrome/browser/chromeos/gdata/gdata_test_util.cc
+++ b/chrome/browser/chromeos/gdata/gdata_test_util.cc
@@ -105,6 +105,22 @@ void CopyResultsFromReadDirectoryCallback(
*out_entries = entries.Pass();
}
+void CopyResultsFromGetEntryInfoWithFilePathCallback(
+ GDataFileError* out_error,
+ FilePath* out_drive_file_path,
+ scoped_ptr<GDataEntryProto>* out_entry_proto,
+ GDataFileError error,
+ const FilePath& drive_file_path,
+ scoped_ptr<GDataEntryProto> entry_proto) {
+ DCHECK(out_error);
+ DCHECK(out_drive_file_path);
+ DCHECK(out_entry_proto);
+
+ *out_error = error;
+ *out_drive_file_path = drive_file_path;
+ *out_entry_proto = entry_proto.Pass();
+}
+
void CopyResultsFromGetEntryInfoPairCallback(
scoped_ptr<EntryInfoPairResult>* out_result,
scoped_ptr<EntryInfoPairResult> result) {

Powered by Google App Engine
This is Rietveld 408576698