| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 bool hasFetchEventHandler() override; | 112 bool hasFetchEventHandler() override; |
| 113 void onNavigationPreloadResponse( | 113 void onNavigationPreloadResponse( |
| 114 int fetchEventID, | 114 int fetchEventID, |
| 115 std::unique_ptr<WebServiceWorkerResponse>, | 115 std::unique_ptr<WebServiceWorkerResponse>, |
| 116 std::unique_ptr<WebDataConsumerHandle>) override; | 116 std::unique_ptr<WebDataConsumerHandle>) override; |
| 117 void onNavigationPreloadError( | 117 void onNavigationPreloadError( |
| 118 int fetchEventID, | 118 int fetchEventID, |
| 119 std::unique_ptr<WebServiceWorkerError>) override; | 119 std::unique_ptr<WebServiceWorkerError>) override; |
| 120 | 120 |
| 121 // WorkerReportingProxy overrides: | 121 // WorkerReportingProxy overrides: |
| 122 void countFeature(UseCounter::Feature) override; |
| 123 void countDeprecation(UseCounter::Feature) override; |
| 122 void reportException(const String& errorMessage, | 124 void reportException(const String& errorMessage, |
| 123 std::unique_ptr<SourceLocation>, | 125 std::unique_ptr<SourceLocation>, |
| 124 int exceptionId) override; | 126 int exceptionId) override; |
| 125 void reportConsoleMessage(MessageSource, | 127 void reportConsoleMessage(MessageSource, |
| 126 MessageLevel, | 128 MessageLevel, |
| 127 const String& message, | 129 const String& message, |
| 128 SourceLocation*) override; | 130 SourceLocation*) override; |
| 129 void postMessageToPageInspector(const String&) override; | 131 void postMessageToPageInspector(const String&) override; |
| 130 ParentFrameTaskRunners* getParentFrameTaskRunners() override; | 132 ParentFrameTaskRunners* getParentFrameTaskRunners() override; |
| 131 void didCreateWorkerGlobalScope(WorkerOrWorkletGlobalScope*) override; | 133 void didCreateWorkerGlobalScope(WorkerOrWorkletGlobalScope*) override; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; | 169 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; |
| 168 | 170 |
| 169 WebServiceWorkerContextClient* m_client; | 171 WebServiceWorkerContextClient* m_client; |
| 170 | 172 |
| 171 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; | 173 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; |
| 172 }; | 174 }; |
| 173 | 175 |
| 174 } // namespace blink | 176 } // namespace blink |
| 175 | 177 |
| 176 #endif // ServiceWorkerGlobalScopeProxy_h | 178 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |