Index: content/browser/service_worker/service_worker_dispatcher_host.h |
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h |
index 98ab5a751ab1dbaeb9658f7207f4304f04d9d970..5a9ebb6a2aa6260a6303a8dc85dc80c3159b85af 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.h |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
#include "base/memory/weak_ptr.h" |
+#include "base/strings/string16.h" |
#include "content/browser/service_worker/service_worker_registration_status.h" |
#include "content/public/browser/browser_message_filter.h" |
@@ -59,6 +60,11 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
void OnSendMessageToBrowser(int embedded_worker_id, |
int request_id, |
const IPC::Message& message); |
+ void OnReportException(int embedded_worker_id, |
+ const base::string16& error_message, |
+ int line_number, |
+ int column_number, |
+ const GURL& source_url); |
void OnPostMessage(int64 version_id, |
const base::string16& message, |
const std::vector<int>& sent_message_port_ids); |