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

Unified Diff: content/child/service_worker/service_worker_network_provider.h

Issue 2009453002: service worker: Don't control a subframe of an insecure context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: getSecurityOrigin Created 4 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/child/service_worker/service_worker_network_provider.h
diff --git a/content/child/service_worker/service_worker_network_provider.h b/content/child/service_worker/service_worker_network_provider.h
index 178adf5a1ceca4d0c48dc2d58a71f7590cb04e3e..e679616dd3cfba0c0fd9ecccf1e9d4ff5a6423a0 100644
--- a/content/child/service_worker/service_worker_network_provider.h
+++ b/content/child/service_worker/service_worker_network_provider.h
@@ -15,7 +15,10 @@
#include "base/supports_user_data.h"
#include "content/common/content_export.h"
#include "content/common/service_worker/service_worker_types.h"
-#include "third_party/WebKit/public/web/WebSandboxFlags.h"
+
+namespace blink {
+class WebLocalFrame;
+}
jww 2016/05/24 18:06:03 nit: " // namespace blink"
falken 2016/05/25 09:19:58 Done.
namespace content {
@@ -46,7 +49,7 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider
static std::unique_ptr<ServiceWorkerNetworkProvider> CreateForNavigation(
int route_id,
const RequestNavigationParams& request_params,
- blink::WebSandboxFlags sandbox_flags,
+ blink::WebLocalFrame* frame,
bool content_initiated);
// PlzNavigate

Powered by Google App Engine
This is Rietveld 408576698