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

Unified Diff: content/browser/service_worker/embedded_worker_test_helper.cc

Issue 293083002: Add a blob field to ServiceWorkerFetchResponse and read the blob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 6 years, 7 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: content/browser/service_worker/embedded_worker_test_helper.cc
diff --git a/content/browser/service_worker/embedded_worker_test_helper.cc b/content/browser/service_worker/embedded_worker_test_helper.cc
index 6bec9e2eefd223c978a2642b383d4e5e1b8fb1c4..24c7785418c97b44af2bea6181a64e314453fc81 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.cc
+++ b/content/browser/service_worker/embedded_worker_test_helper.cc
@@ -127,10 +127,12 @@ void EmbeddedWorkerTestHelper::OnFetchEvent(
const ServiceWorkerFetchRequest& request) {
SimulateSend(
new ServiceWorkerHostMsg_FetchEventFinished(
- embedded_worker_id, request_id,
+ embedded_worker_id,
+ request_id,
SERVICE_WORKER_FETCH_EVENT_RESULT_RESPONSE,
ServiceWorkerResponse(200, "OK", "GET",
- std::map<std::string, std::string>())));
+ std::map<std::string, std::string>(),
+ std::string())));
}
void EmbeddedWorkerTestHelper::SimulateWorkerStarted(

Powered by Google App Engine
This is Rietveld 408576698