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

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

Issue 419203004: DevTools: wrapping arguments addConsoleMessage in ConsoleMessage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@wrap-not-all-console-args
Patch Set: Created 6 years, 4 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
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 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebSharedWorkerImpl_h 31 #ifndef WebSharedWorkerImpl_h
32 #define WebSharedWorkerImpl_h 32 #define WebSharedWorkerImpl_h
33 33
34 #include "public/web/WebSharedWorker.h" 34 #include "public/web/WebSharedWorker.h"
35 35
36 #include "core/dom/ExecutionContext.h" 36 #include "core/dom/ExecutionContext.h"
37 #include "core/inspector/ConsoleMessage.h"
vsevik 2014/08/08 13:06:29 ditto
kozyatinskiy1 2014/08/08 14:58:09 Done.
37 #include "core/workers/WorkerLoaderProxy.h" 38 #include "core/workers/WorkerLoaderProxy.h"
38 #include "core/workers/WorkerReportingProxy.h" 39 #include "core/workers/WorkerReportingProxy.h"
39 #include "core/workers/WorkerScriptLoaderClient.h" 40 #include "core/workers/WorkerScriptLoaderClient.h"
40 #include "core/workers/WorkerThread.h" 41 #include "core/workers/WorkerThread.h"
41 #include "public/web/WebContentSecurityPolicy.h" 42 #include "public/web/WebContentSecurityPolicy.h"
42 #include "public/web/WebFrameClient.h" 43 #include "public/web/WebFrameClient.h"
43 #include "public/web/WebSharedWorkerClient.h" 44 #include "public/web/WebSharedWorkerClient.h"
44 #include "wtf/PassOwnPtr.h" 45 #include "wtf/PassOwnPtr.h"
45 #include "wtf/RefPtr.h" 46 #include "wtf/RefPtr.h"
46 #include "wtf/WeakPtr.h" 47 #include "wtf/WeakPtr.h"
(...skipping 21 matching lines...) Expand all
68 : public blink::WorkerReportingProxy 69 : public blink::WorkerReportingProxy
69 , public blink::WorkerLoaderProxy 70 , public blink::WorkerLoaderProxy
70 , public WebFrameClient 71 , public WebFrameClient
71 , public WebSharedWorker { 72 , public WebSharedWorker {
72 public: 73 public:
73 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); 74 explicit WebSharedWorkerImpl(WebSharedWorkerClient*);
74 75
75 // blink::WorkerReportingProxy methods: 76 // blink::WorkerReportingProxy methods:
76 virtual void reportException( 77 virtual void reportException(
77 const WTF::String&, int, int, const WTF::String&) OVERRIDE; 78 const WTF::String&, int, int, const WTF::String&) OVERRIDE;
78 virtual void reportConsoleMessage( 79 virtual void reportConsoleMessage(PassRefPtr<blink::ConsoleMessage>) OVERRID E;
79 blink::MessageSource, blink::MessageLevel,
80 const WTF::String&, int, const WTF::String&) OVERRIDE;
81 virtual void postMessageToPageInspector(const WTF::String&) OVERRIDE; 80 virtual void postMessageToPageInspector(const WTF::String&) OVERRIDE;
82 virtual void updateInspectorStateCookie(const WTF::String&) OVERRIDE; 81 virtual void updateInspectorStateCookie(const WTF::String&) OVERRIDE;
83 virtual void workerGlobalScopeStarted(blink::WorkerGlobalScope*) OVERRIDE; 82 virtual void workerGlobalScopeStarted(blink::WorkerGlobalScope*) OVERRIDE;
84 virtual void workerGlobalScopeClosed() OVERRIDE; 83 virtual void workerGlobalScopeClosed() OVERRIDE;
85 virtual void workerGlobalScopeDestroyed() OVERRIDE; 84 virtual void workerGlobalScopeDestroyed() OVERRIDE;
86 virtual void willDestroyWorkerGlobalScope() OVERRIDE { } 85 virtual void willDestroyWorkerGlobalScope() OVERRIDE { }
87 86
88 // blink::WorkerLoaderProxy methods: 87 // blink::WorkerLoaderProxy methods:
89 virtual void postTaskToLoader(PassOwnPtr<blink::ExecutionContextTask>) OVERR IDE; 88 virtual void postTaskToLoader(PassOwnPtr<blink::ExecutionContextTask>) OVERR IDE;
90 virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<blink::ExecutionContextT ask>) OVERRIDE; 89 virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<blink::ExecutionContextT ask>) OVERRIDE;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 OwnPtr<Loader> m_mainScriptLoader; 152 OwnPtr<Loader> m_mainScriptLoader;
154 WebURL m_url; 153 WebURL m_url;
155 WebString m_name; 154 WebString m_name;
156 WebString m_contentSecurityPolicy; 155 WebString m_contentSecurityPolicy;
157 WebContentSecurityPolicyType m_policyType; 156 WebContentSecurityPolicyType m_policyType;
158 }; 157 };
159 158
160 } // namespace blink 159 } // namespace blink
161 160
162 #endif 161 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698