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

Unified Diff: content/child/request_extra_data.h

Issue 193723003: Identify service worker version at main resource load time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index 3c98921712b4ae3b96addf554e67cee9b6370f22..d58db6147cbde88e7f49bc6be33057a7b0278108 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -13,11 +13,14 @@
namespace content {
-// The RenderView stores an instance of this class in the "extra data" of each
-// ResourceRequest (see RenderFrameImpl::willSendRequest).
+// The RenderView and EmbeddedWorkerContextClient store an instance of this
+// class in the "extra data" of each ResourceRequest (see the willSendRequest
+// methods of RenderFrameImpl and EmbeddedWorkerContextClient willSendRequest).
class CONTENT_EXPORT RequestExtraData
: NON_EXPORTED_BASE(public webkit_glue::WebURLRequestExtraDataImpl) {
public:
+ RequestExtraData();
+ RequestExtraData(int service_worker_provider_id);
kinuko 2014/03/14 11:46:44 nit: explicit ?
michaeln 2014/03/15 01:19:26 Done.
RequestExtraData(blink::WebPageVisibilityState visibility_state,
const blink::WebString& custom_user_agent,
bool was_after_preconnect_request,
« no previous file with comments | « no previous file | content/child/request_extra_data.cc » ('j') | content/child/service_worker/service_worker_network_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698