Index: chrome/browser/google_apis/test_util.h |
diff --git a/chrome/browser/google_apis/test_util.h b/chrome/browser/google_apis/test_util.h |
index 6f3682edd385015c8cc7af79c54140d741f24485..9f1cae8a9546f2558a6b808be2464f7db005b43c 100644 |
--- a/chrome/browser/google_apis/test_util.h |
+++ b/chrome/browser/google_apis/test_util.h |
@@ -23,6 +23,7 @@ class AccountMetadataFeed; |
class AuthenticatedOperationInterface; |
class ResourceEntry; |
class ResourceList; |
+struct UploadRangeResponse; |
namespace test_server { |
struct HttpRequest; |
@@ -113,6 +114,20 @@ void CopyResultsFromDownloadActionCallback( |
GDataErrorCode error_in, |
const base::FilePath& temp_file_in); |
+// Copies the results from InitiateUploadCallback. |
+void CopyResultsFromInitiateUploadCallback( |
+ GDataErrorCode* error_out, |
+ GURL* url_out, |
+ GDataErrorCode error_in, |
+ const GURL& url_in); |
+ |
+// Copies the results from ResumeUploadCallback. |
+void CopyResultsFromUploadRangeCallback( |
+ UploadRangeResponse* response_out, |
+ scoped_ptr<ResourceEntry>* entry_out, |
+ const UploadRangeResponse& response_in, |
+ scoped_ptr<ResourceEntry> entry_in); |
+ |
// Returns a HttpResponse created from the given file path. |
scoped_ptr<test_server::HttpResponse> CreateHttpResponseFromFile( |
const base::FilePath& file_path); |