| Index: content/public/browser/render_process_host.h
|
| diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
|
| index bb774988a2b83a2e8d0ccc6fd7ecfcdf8624c8d2..34942a7a34ab537f9233b79e28a69d51da4328f0 100644
|
| --- a/content/public/browser/render_process_host.h
|
| +++ b/content/public/browser/render_process_host.h
|
| @@ -40,6 +40,7 @@ class RenderProcessHostObserver;
|
| class RenderWidgetHost;
|
| class ServiceRegistry;
|
| class StoragePartition;
|
| +enum class BadMessage;
|
| struct GlobalRequestID;
|
|
|
| // Interface that represents the browser side of the browser <-> renderer
|
| @@ -88,8 +89,9 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
|
| virtual void AddObserver(RenderProcessHostObserver* observer) = 0;
|
| virtual void RemoveObserver(RenderProcessHostObserver* observer) = 0;
|
|
|
| - // Called when a received message cannot be decoded.
|
| - virtual void ReceivedBadMessage() = 0;
|
| + // Called when a received message cannot be decoded. The |reason| is logged to
|
| + // the console.
|
| + virtual void ReceivedBadMessage(BadMessage reason) = 0;
|
|
|
| // Track the count of visible widgets. Called by listeners to register and
|
| // unregister visibility.
|
|
|