Index: chrome/browser/renderer_host/chrome_render_message_filter.h |
diff --git a/chrome/browser/renderer_host/chrome_render_message_filter.h b/chrome/browser/renderer_host/chrome_render_message_filter.h |
index 7b2f29479d1c711b15b8550429bc985725787975..2ed27b0ca720b5e24753a1e191d6b7da7d4a3fa3 100644 |
--- a/chrome/browser/renderer_host/chrome_render_message_filter.h |
+++ b/chrome/browser/renderer_host/chrome_render_message_filter.h |
@@ -24,6 +24,10 @@ namespace chrome_browser_net { |
class Predictor; |
} |
+namespace content { |
+class ServiceWorkerContext; |
+} |
+ |
namespace content_settings { |
class CookieSettings; |
} |
@@ -40,7 +44,10 @@ class InfoMap; |
// process on the IPC thread. |
class ChromeRenderMessageFilter : public content::BrowserMessageFilter { |
public: |
- ChromeRenderMessageFilter(int render_process_id, Profile* profile); |
+ ChromeRenderMessageFilter( |
+ int render_process_id, |
+ Profile* profile, |
+ content::ServiceWorkerContext* service_worker_context); |
// content::BrowserMessageFilter methods: |
bool OnMessageReceived(const IPC::Message& message) override; |
@@ -137,6 +144,9 @@ class ChromeRenderMessageFilter : public content::BrowserMessageFilter { |
// Used to look up permissions at database creation time. |
scoped_refptr<content_settings::CookieSettings> cookie_settings_; |
+ // Used to start Service Workers for navigation hints. |
+ content::ServiceWorkerContext* service_worker_context_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); |
}; |