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

Unified Diff: chrome/browser/chromeos/extensions/external_filesystem_apitest.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/chromeos/extensions/external_filesystem_apitest.cc
diff --git a/chrome/browser/chromeos/extensions/external_filesystem_apitest.cc b/chrome/browser/chromeos/extensions/external_filesystem_apitest.cc
index 0d6df25c8d2ef5aea1e2bc1eec0b024f1c47d7ca..71c555567bac67ddd3a76699cdaa596c1f3141e9 100644
--- a/chrome/browser/chromeos/extensions/external_filesystem_apitest.cc
+++ b/chrome/browser/chromeos/extensions/external_filesystem_apitest.cc
@@ -148,7 +148,7 @@ ACTION_P(MockDownloadFileCallback, status) {
content::BrowserThread::FILE,
FROM_HERE,
base::Bind(&CreateFileWithContent, arg1, kTestFileContent),
- base::Bind(arg3, status, arg2, arg1)));
+ base::Bind(arg4, status, arg2, arg1)));
}
} // namespace
@@ -392,7 +392,7 @@ IN_PROC_BROWSER_TEST_F(RemoteFileSystemExtensionApiTest,
// GetDocumentEntry mock implementation.
EXPECT_CALL(*mock_drive_service_,
DownloadFile(_, _, GURL("https://file_content_url_changed"),
- _, _))
+ _, _, _))
.WillOnce(MockDownloadFileCallback(gdata::HTTP_SUCCESS));
// On exit, all operations in progress should be cancelled.
@@ -433,7 +433,7 @@ IN_PROC_BROWSER_TEST_F(RemoteFileSystemExtensionApiTest, ContentSearch) {
// GetDocumentEntry mock implementation.
EXPECT_CALL(*mock_drive_service_,
DownloadFile(_, _, GURL("https://file_content_url_changed"),
- _, _))
+ _, _, _))
.WillOnce(MockDownloadFileCallback(gdata::HTTP_SUCCESS));
// On exit, all operations in progress should be cancelled.

Powered by Google App Engine
This is Rietveld 408576698