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

Side by Side Diff: content/renderer/shared_worker/embedded_shared_worker_stub.h

Issue 1408363004: [DevTools] Filter any messages from previous sessions in DevToolsAgentHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ 5 #ifndef CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_
6 #define CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ 6 #define CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "content/child/child_message_filter.h" 10 #include "content/child/child_message_filter.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void workerScriptLoadFailed() override; 63 void workerScriptLoadFailed() override;
64 void selectAppCacheID(long long) override; 64 void selectAppCacheID(long long) override;
65 blink::WebNotificationPresenter* notificationPresenter() override; 65 blink::WebNotificationPresenter* notificationPresenter() override;
66 blink::WebApplicationCacheHost* createApplicationCacheHost( 66 blink::WebApplicationCacheHost* createApplicationCacheHost(
67 blink::WebApplicationCacheHostClient*) override; 67 blink::WebApplicationCacheHostClient*) override;
68 blink::WebWorkerContentSettingsClientProxy* 68 blink::WebWorkerContentSettingsClientProxy*
69 createWorkerContentSettingsClientProxy( 69 createWorkerContentSettingsClientProxy(
70 const blink::WebSecurityOrigin& origin) override; 70 const blink::WebSecurityOrigin& origin) override;
71 blink::WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider( 71 blink::WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider(
72 blink::WebDataSource*) override; 72 blink::WebDataSource*) override;
73 void sendDevToolsMessage(int call_id, 73 void sendDevToolsMessage(int session_id,
74 int call_id,
74 const blink::WebString& message, 75 const blink::WebString& message,
75 const blink::WebString& state) override; 76 const blink::WebString& state) override;
76 77
77 private: 78 private:
78 ~EmbeddedSharedWorkerStub() override; 79 ~EmbeddedSharedWorkerStub() override;
79 80
80 void Shutdown(); 81 void Shutdown();
81 bool Send(IPC::Message* message); 82 bool Send(IPC::Message* message);
82 83
83 // WebSharedWorker will own |channel|. 84 // WebSharedWorker will own |channel|.
(...skipping 13 matching lines...) Expand all
97 PendingChannelList pending_channels_; 98 PendingChannelList pending_channels_;
98 99
99 ScopedChildProcessReference process_ref_; 100 ScopedChildProcessReference process_ref_;
100 WebApplicationCacheHostImpl* app_cache_host_ = nullptr; 101 WebApplicationCacheHostImpl* app_cache_host_ = nullptr;
101 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub); 102 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub);
102 }; 103 };
103 104
104 } // namespace content 105 } // namespace content
105 106
106 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ 107 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698