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

Side by Side Diff: Source/web/WebSharedWorkerImpl.h

Issue 670433002: DevTools: Remove unused code after service/shared worker inspection migration to main thread. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebEmbeddedWorkerImpl.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 , public WebSharedWorker 68 , public WebSharedWorker
69 , public WebDevToolsAgentClient { 69 , public WebDevToolsAgentClient {
70 public: 70 public:
71 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); 71 explicit WebSharedWorkerImpl(WebSharedWorkerClient*);
72 72
73 // WorkerReportingProxy methods: 73 // WorkerReportingProxy methods:
74 virtual void reportException( 74 virtual void reportException(
75 const WTF::String&, int, int, const WTF::String&) override; 75 const WTF::String&, int, int, const WTF::String&) override;
76 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov erride; 76 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov erride;
77 virtual void postMessageToPageInspector(const WTF::String&) override; 77 virtual void postMessageToPageInspector(const WTF::String&) override;
78 virtual void updateInspectorStateCookie(const WTF::String&) override;
79 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override; 78 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override;
80 virtual void workerGlobalScopeClosed() override; 79 virtual void workerGlobalScopeClosed() override;
81 virtual void workerThreadTerminated() override; 80 virtual void workerThreadTerminated() override;
82 virtual void willDestroyWorkerGlobalScope() override { } 81 virtual void willDestroyWorkerGlobalScope() override { }
83 82
84 // WorkerLoaderProxy methods: 83 // WorkerLoaderProxy methods:
85 virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override; 84 virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override;
86 virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) o verride; 85 virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) o verride;
87 86
88 // WebFrameClient methods to support resource loading thru the 'shadow page' . 87 // WebFrameClient methods to support resource loading thru the 'shadow page' .
89 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) override; 88 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) override;
90 virtual void didFinishDocumentLoad(WebLocalFrame*) override; 89 virtual void didFinishDocumentLoad(WebLocalFrame*) override;
91 90
92 // WebDevToolsAgentClient overrides. 91 // WebDevToolsAgentClient overrides.
93 virtual void sendMessageToInspectorFrontend(const WebString&) override; 92 virtual void sendMessageToInspectorFrontend(const WebString&) override;
94 virtual void saveAgentRuntimeState(const WebString&) override; 93 virtual void saveAgentRuntimeState(const WebString&) override;
95 virtual void resumeStartup() override; 94 virtual void resumeStartup() override;
96 95
97 // WebSharedWorker methods: 96 // WebSharedWorker methods:
98 virtual void startWorkerContext(const WebURL&, const WebString& name, const WebString& contentSecurityPolicy, WebContentSecurityPolicyType) override; 97 virtual void startWorkerContext(const WebURL&, const WebString& name, const WebString& contentSecurityPolicy, WebContentSecurityPolicyType) override;
99 virtual void connect(WebMessagePortChannel*) override; 98 virtual void connect(WebMessagePortChannel*) override;
100 virtual void terminateWorkerContext() override; 99 virtual void terminateWorkerContext() override;
101 virtual void clientDestroyed() override; 100 virtual void clientDestroyed() override;
102 101
103 virtual void pauseWorkerContextOnStart() override; 102 virtual void pauseWorkerContextOnStart() override;
104 virtual void resumeWorkerContext() override;
105 virtual void attachDevTools(const WebString& hostId) override; 103 virtual void attachDevTools(const WebString& hostId) override;
106 virtual void reattachDevTools(const WebString& hostId, const WebString& save dState) override; 104 virtual void reattachDevTools(const WebString& hostId, const WebString& save dState) override;
107 virtual void detachDevTools() override; 105 virtual void detachDevTools() override;
108 virtual void dispatchDevToolsMessage(const WebString&) override; 106 virtual void dispatchDevToolsMessage(const WebString&) override;
109 107
110 private: 108 private:
111 class Loader; 109 class Loader;
112 110
113 virtual ~WebSharedWorkerImpl(); 111 virtual ~WebSharedWorkerImpl();
114 112
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 OwnPtr<Loader> m_mainScriptLoader; 157 OwnPtr<Loader> m_mainScriptLoader;
160 WebURL m_url; 158 WebURL m_url;
161 WebString m_name; 159 WebString m_name;
162 WebString m_contentSecurityPolicy; 160 WebString m_contentSecurityPolicy;
163 WebContentSecurityPolicyType m_policyType; 161 WebContentSecurityPolicyType m_policyType;
164 }; 162 };
165 163
166 } // namespace blink 164 } // namespace blink
167 165
168 #endif 166 #endif
OLDNEW
« no previous file with comments | « Source/web/WebEmbeddedWorkerImpl.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698