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

Unified Diff: chrome/browser/google_apis/gdata_wapi_service_browsertest.cc

Issue 11143014: Add request header on gdata operation for testing ETag match. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix & test fix Created 8 years, 2 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/gdata_wapi_service_browsertest.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_service_browsertest.cc b/chrome/browser/google_apis/gdata_wapi_service_browsertest.cc
index decb58e6002f0776c740111502b6ace63fcbfd35..9fb62af1a1f51dd9582af59a714dcc2dceea8008 100644
--- a/chrome/browser/google_apis/gdata_wapi_service_browsertest.cc
+++ b/chrome/browser/google_apis/gdata_wapi_service_browsertest.cc
@@ -82,6 +82,7 @@ IN_PROC_BROWSER_TEST_F(GDataTest, Download) {
GetTestCachedFilePath(FilePath(
FILE_PATH_LITERAL("cached_testfile.txt"))),
gdata_test_server_.GetURL("files/chromeos/gdata/testfile.txt"),
+ std::string(),
kochi 2012/10/16 05:04:58 Can you add a comment?
tzik 2012/10/16 05:48:05 Done.
base::Bind(&TestDownloadCallback, &result, &contents),
gdata::GetContentCallback());
content::RunMessageLoop();
@@ -102,6 +103,7 @@ IN_PROC_BROWSER_TEST_F(GDataTest, NonExistingDownload) {
GetTestCachedFilePath(FilePath(
FILE_PATH_LITERAL("cache_no-such-file.txt"))),
gdata_test_server_.GetURL("files/chromeos/gdata/no-such-file.txt"),
+ std::string(),
kochi 2012/10/16 05:04:58 Ditto.
tzik 2012/10/16 05:48:05 Done.
base::Bind(&TestDownloadCallback, &result, &dummy_contents),
gdata::GetContentCallback());
content::RunMessageLoop();

Powered by Google App Engine
This is Rietveld 408576698