| OLD | NEW |
| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // WorkerReportingProxy overrides: | 138 // WorkerReportingProxy overrides: |
| 139 void CountFeature(WebFeature) override; | 139 void CountFeature(WebFeature) override; |
| 140 void CountDeprecation(WebFeature) override; | 140 void CountDeprecation(WebFeature) override; |
| 141 void ReportException(const String& error_message, | 141 void ReportException(const String& error_message, |
| 142 std::unique_ptr<SourceLocation>, | 142 std::unique_ptr<SourceLocation>, |
| 143 int exception_id) override; | 143 int exception_id) override; |
| 144 void ReportConsoleMessage(MessageSource, | 144 void ReportConsoleMessage(MessageSource, |
| 145 MessageLevel, | 145 MessageLevel, |
| 146 const String& message, | 146 const String& message, |
| 147 SourceLocation*) override; | 147 SourceLocation*) override; |
| 148 void PostMessageToPageInspector(const String&) override; | 148 void PostMessageToPageInspector(int session_id, const String&) override; |
| 149 void DidCreateWorkerGlobalScope(WorkerOrWorkletGlobalScope*) override; | 149 void DidCreateWorkerGlobalScope(WorkerOrWorkletGlobalScope*) override; |
| 150 void DidInitializeWorkerContext() override; | 150 void DidInitializeWorkerContext() override; |
| 151 void WillEvaluateWorkerScript(size_t script_size, | 151 void WillEvaluateWorkerScript(size_t script_size, |
| 152 size_t cached_metadata_size) override; | 152 size_t cached_metadata_size) override; |
| 153 void WillEvaluateImportedScript(size_t script_size, | 153 void WillEvaluateImportedScript(size_t script_size, |
| 154 size_t cached_metadata_size) override; | 154 size_t cached_metadata_size) override; |
| 155 void DidEvaluateWorkerScript(bool success) override; | 155 void DidEvaluateWorkerScript(bool success) override; |
| 156 void DidCloseWorkerGlobalScope() override; | 156 void DidCloseWorkerGlobalScope() override; |
| 157 void WillDestroyWorkerGlobalScope() override; | 157 void WillDestroyWorkerGlobalScope() override; |
| 158 void DidTerminateWorkerThread() override; | 158 void DidTerminateWorkerThread() override; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 HashMap<int, CrossThreadPersistent<FetchEvent>> pending_preload_fetch_events_; | 190 HashMap<int, CrossThreadPersistent<FetchEvent>> pending_preload_fetch_events_; |
| 191 | 191 |
| 192 WebServiceWorkerContextClient* client_; | 192 WebServiceWorkerContextClient* client_; |
| 193 | 193 |
| 194 CrossThreadPersistent<ServiceWorkerGlobalScope> worker_global_scope_; | 194 CrossThreadPersistent<ServiceWorkerGlobalScope> worker_global_scope_; |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 } // namespace blink | 197 } // namespace blink |
| 198 | 198 |
| 199 #endif // ServiceWorkerGlobalScopeProxy_h | 199 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |