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

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

Issue 1108273002: Add Client Attribute to FetchEvent- Chromium Side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/service_worker_browsertest.cc
diff --git a/content/browser/service_worker/service_worker_browsertest.cc b/content/browser/service_worker/service_worker_browsertest.cc
index 03b2041533e4b22ba6584eb6abf4df5b51bc5e53..58c96e3ac29ccf0354500cca92ae856d6c4bd8ca 100644
--- a/content/browser/service_worker/service_worker_browsertest.cc
+++ b/content/browser/service_worker/service_worker_browsertest.cc
@@ -738,11 +738,8 @@ class ServiceWorkerVersionBrowserTest : public ServiceWorkerBrowserTest {
FetchResult* result) {
ASSERT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::IO));
ServiceWorkerFetchRequest request(
- embedded_test_server()->GetURL("/service_worker/empty.html"),
- "GET",
- ServiceWorkerHeaderMap(),
- Referrer(),
- false);
+ embedded_test_server()->GetURL("/service_worker/empty.html"), "GET",
+ ServiceWorkerHeaderMap(), Referrer(), false, ServiceWorkerClientInfo());
version_->SetStatus(ServiceWorkerVersion::ACTIVATED);
version_->DispatchFetchEvent(
request,

Powered by Google App Engine
This is Rietveld 408576698