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

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

Issue 1851293002: Remove BLINK_ASSERT() and BLINK_ASSERT_NOT_REACHED() macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn compilation. 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) 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void workerGlobalScopeClosed() override; 85 void workerGlobalScopeClosed() override;
86 void workerThreadTerminated() override; 86 void workerThreadTerminated() override;
87 void willDestroyWorkerGlobalScope() override { } 87 void willDestroyWorkerGlobalScope() override { }
88 88
89 // WebFrameClient methods to support resource loading thru the 'shadow page' . 89 // WebFrameClient methods to support resource loading thru the 'shadow page' .
90 WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostC lient*) override; 90 WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostC lient*) override;
91 void willSendRequest(WebLocalFrame*, unsigned identifier, WebURLRequest&, co nst WebURLResponse& redirectResponse) override; 91 void willSendRequest(WebLocalFrame*, unsigned identifier, WebURLRequest&, co nst WebURLResponse& redirectResponse) override;
92 void didFinishDocumentLoad(WebLocalFrame*) override; 92 void didFinishDocumentLoad(WebLocalFrame*) override;
93 bool isControlledByServiceWorker(WebDataSource&) override; 93 bool isControlledByServiceWorker(WebDataSource&) override;
94 int64_t serviceWorkerID(WebDataSource&) override; 94 int64_t serviceWorkerID(WebDataSource&) override;
95 void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const We bSecurityOrigin&, WebSetSinkIdCallbacks*) override;
95 96
96 // WebDevToolsAgentClient overrides. 97 // WebDevToolsAgentClient overrides.
97 void sendProtocolMessage(int sessionId, int callId, const WebString&, const WebString&) override; 98 void sendProtocolMessage(int sessionId, int callId, const WebString&, const WebString&) override;
98 void resumeStartup() override; 99 void resumeStartup() override;
99 100
100 // WebSharedWorker methods: 101 // WebSharedWorker methods:
101 void startWorkerContext(const WebURL&, const WebString& name, const WebStrin g& contentSecurityPolicy, WebContentSecurityPolicyType, WebAddressSpace) overrid e; 102 void startWorkerContext(const WebURL&, const WebString& name, const WebStrin g& contentSecurityPolicy, WebContentSecurityPolicyType, WebAddressSpace) overrid e;
102 void connect(WebMessagePortChannel*) override; 103 void connect(WebMessagePortChannel*) override;
103 void terminateWorkerContext() override; 104 void terminateWorkerContext() override;
104 105
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 RefPtr<WorkerLoaderProxy> m_loaderProxy; 159 RefPtr<WorkerLoaderProxy> m_loaderProxy;
159 160
160 WebURL m_url; 161 WebURL m_url;
161 WebString m_name; 162 WebString m_name;
162 WebAddressSpace m_creationAddressSpace; 163 WebAddressSpace m_creationAddressSpace;
163 }; 164 };
164 165
165 } // namespace blink 166 } // namespace blink
166 167
167 #endif // WebSharedWorkerImpl_h 168 #endif // WebSharedWorkerImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698