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

Side by Side Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h

Issue 1908313003: Shows the error message while fetching the SW script in the DevTools console. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated falken's comment Created 4 years, 8 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 ~WebEmbeddedWorkerImpl() override; 60 ~WebEmbeddedWorkerImpl() override;
61 61
62 // WebEmbeddedWorker overrides. 62 // WebEmbeddedWorker overrides.
63 void startWorkerContext(const WebEmbeddedWorkerStartData&) override; 63 void startWorkerContext(const WebEmbeddedWorkerStartData&) override;
64 void terminateWorkerContext() override; 64 void terminateWorkerContext() override;
65 void resumeAfterDownload() override; 65 void resumeAfterDownload() override;
66 void attachDevTools(const WebString& hostId, int sessionId) override; 66 void attachDevTools(const WebString& hostId, int sessionId) override;
67 void reattachDevTools(const WebString& hostId, int sessionId, const WebStrin g& savedState) override; 67 void reattachDevTools(const WebString& hostId, int sessionId, const WebStrin g& savedState) override;
68 void detachDevTools() override; 68 void detachDevTools() override;
69 void dispatchDevToolsMessage(int sessionId, const WebString&) override; 69 void dispatchDevToolsMessage(int sessionId, const WebString&) override;
70 void addMessageToConsole(const WebConsoleMessage&) override;
70 71
71 void postMessageToPageInspector(const WTF::String&); 72 void postMessageToPageInspector(const WTF::String&);
72 73
73 private: 74 private:
74 void prepareShadowPageForLoader(); 75 void prepareShadowPageForLoader();
75 void loadShadowPage(); 76 void loadShadowPage();
76 77
77 // WebFrameClient overrides. 78 // WebFrameClient overrides.
78 void willSendRequest( 79 void willSendRequest(
79 WebLocalFrame*, unsigned identifier, WebURLRequest&, 80 WebLocalFrame*, unsigned identifier, WebURLRequest&,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 DoPauseAfterDownload, 132 DoPauseAfterDownload,
132 IsPausedAfterDownload 133 IsPausedAfterDownload
133 } m_pauseAfterDownloadState; 134 } m_pauseAfterDownloadState;
134 135
135 WaitingForDebuggerState m_waitingForDebuggerState; 136 WaitingForDebuggerState m_waitingForDebuggerState;
136 }; 137 };
137 138
138 } // namespace blink 139 } // namespace blink
139 140
140 #endif // WebEmbeddedWorkerImpl_h 141 #endif // WebEmbeddedWorkerImpl_h
OLDNEW
« no previous file with comments | « content/renderer/service_worker/embedded_worker_dispatcher.cc ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698