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

Unified Diff: chrome/browser/google_apis/test_util.h

Issue 17140009: Support contents upload on FakeDriveService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style fix Created 7 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
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 0e770bdbea2d02b23c38aacea8e95cf3f769e9e6..f35ff724f6b4c389beb79a241888ed5695309b27 100644
--- a/chrome/browser/google_apis/test_util.h
+++ b/chrome/browser/google_apis/test_util.h
@@ -75,6 +75,11 @@ GURL GetBaseUrlForTesting(int port);
bool WriteStringToFile(const base::FilePath& file_path,
const std::string& content);
hashimoto 2013/06/20 10:17:42 Please add a function comment. BTW, do we need to
tzik 2013/06/20 13:37:22 It seems to work. OK, I'll drop this.
+bool ReadFile(const base::FilePath& file_path,
+ int64 offset,
+ char* buffer,
+ int size);
+
// Creates a |size| byte file. The file is filled with random bytes so that
// the test assertions can identify correct portion/position of the file is
// used.

Powered by Google App Engine
This is Rietveld 408576698