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

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

Issue 743153002: [DevTools] Show stack trace for exceptions in dedicated workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@worker-capture-stack
Patch Set: Rebased Created 6 years 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
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 : public WorkerReportingProxy 65 : public WorkerReportingProxy
66 , public WorkerLoaderProxy 66 , public WorkerLoaderProxy
67 , public WebFrameClient 67 , public WebFrameClient
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&, int) 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 postWorkerConsoleAgentEnabled() override { } 78 virtual void postWorkerConsoleAgentEnabled() override { }
79 virtual void didEvaluateWorkerScript(bool success) override { }; 79 virtual void didEvaluateWorkerScript(bool success) override { };
80 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override; 80 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override;
81 virtual void workerGlobalScopeClosed() override; 81 virtual void workerGlobalScopeClosed() override;
82 virtual void workerThreadTerminated() override; 82 virtual void workerThreadTerminated() override;
83 virtual void willDestroyWorkerGlobalScope() override { } 83 virtual void willDestroyWorkerGlobalScope() override { }
84 84
85 // WorkerLoaderProxy methods: 85 // WorkerLoaderProxy methods:
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 OwnPtr<Loader> m_mainScriptLoader; 159 OwnPtr<Loader> m_mainScriptLoader;
160 WebURL m_url; 160 WebURL m_url;
161 WebString m_name; 161 WebString m_name;
162 WebString m_contentSecurityPolicy; 162 WebString m_contentSecurityPolicy;
163 WebContentSecurityPolicyType m_policyType; 163 WebContentSecurityPolicyType m_policyType;
164 }; 164 };
165 165
166 } // namespace blink 166 } // namespace blink
167 167
168 #endif 168 #endif
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698