Index: content/browser/service_worker/embedded_worker_instance.h |
diff --git a/content/browser/service_worker/embedded_worker_instance.h b/content/browser/service_worker/embedded_worker_instance.h |
index a4ed91ca8a42f199dabf11fda99e43ab4978fa2d..2d7c4261c0c8f1f8e1793aca02229e89bebc169f 100644 |
--- a/content/browser/service_worker/embedded_worker_instance.h |
+++ b/content/browser/service_worker/embedded_worker_instance.h |
@@ -150,6 +150,10 @@ class CONTENT_EXPORT EmbeddedWorkerInstance { |
void set_devtools_attached(bool attached) { devtools_attached_ = attached; } |
bool devtools_attached() const { return devtools_attached_; } |
+ bool network_accessed_for_script() const { |
+ return network_accessed_for_script_; |
+ } |
+ |
// Called when the script load request accessed the network. |
void OnNetworkAccessedForScriptLoad(); |