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

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

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.h
diff --git a/chrome/browser/chromeos/gdata/gdata_test_util.h b/chrome/browser/chromeos/gdata/gdata_test_util.h
index 75c4494f163cfefbf6ccbea7855f46679e0f7d8a..8bc4bdb55d813471636dd3044e3e1b9a3c7c3331 100644
--- a/chrome/browser/chromeos/gdata/gdata_test_util.h
+++ b/chrome/browser/chromeos/gdata/gdata_test_util.h
@@ -74,8 +74,20 @@ void CopyResultsFromReadDirectoryCallback(
GDataFileError error,
scoped_ptr<GDataEntryProtoVector> entries);
-// Copies |result| |out_result|. Used to run asynchronous functions that take
-// GetEntryInfoPairCallback from tests.
+// Copies |error|, |drive_file_path|, and |entry_proto| to |out_error|,
+// |out_drive_file_path|, and |out_entry_proto| respectively. Used to run
+// asynchronous functions that take GetEntryInfoWithFilePathCallback from
+// tests.
+void CopyResultsFromGetEntryInfoWithFilePathCallback(
achuithb 2012/08/20 23:19:09 Do we really need this here? Why not put this in t
satorux1 2012/08/20 23:24:43 I plan to use these Copy* functions from gdata_fil
+ 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);
+
+// Copies |result| to |out_result|. Used to run asynchronous functions
+// that take GetEntryInfoPairCallback from tests.
void CopyResultsFromGetEntryInfoPairCallback(
scoped_ptr<EntryInfoPairResult>* out_result,
scoped_ptr<EntryInfoPairResult> result);
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system_interface.h ('k') | chrome/browser/chromeos/gdata/gdata_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698