Index: content/child/webmessageportchannel_impl.h |
diff --git a/content/child/webmessageportchannel_impl.h b/content/child/webmessageportchannel_impl.h |
index 4b9c273d01dcac2267d685d82950aceaa1d85364..c6306e85f624147ef967d3fdac57eaf7d5de20e7 100644 |
--- a/content/child/webmessageportchannel_impl.h |
+++ b/content/child/webmessageportchannel_impl.h |
@@ -69,6 +69,8 @@ class WebMessagePortChannelImpl |
void QueueMessages(); |
int message_port_id() const { return message_port_id_; } |
+ void set_is_stashed() { is_stashed_ = true; } |
+ |
private: |
friend class base::RefCountedThreadSafe<WebMessagePortChannelImpl>; |
~WebMessagePortChannelImpl() override; |
@@ -115,6 +117,7 @@ class WebMessagePortChannelImpl |
// base::Value instances as opposed to being serialized using the default |
// blink::WebSerializedScriptValue. |
bool send_messages_as_values_; |
+ bool is_stashed_; |
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
DISALLOW_COPY_AND_ASSIGN(WebMessagePortChannelImpl); |