| OLD | NEW |
| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // then call the supplied WebCommonWorkerClient. | 68 // then call the supplied WebCommonWorkerClient. |
| 69 class WebSharedWorkerImpl final : public WorkerReportingProxy, | 69 class WebSharedWorkerImpl final : public WorkerReportingProxy, |
| 70 public WebFrameClient, | 70 public WebFrameClient, |
| 71 public WebSharedWorker, | 71 public WebSharedWorker, |
| 72 public WebDevToolsAgentClient, | 72 public WebDevToolsAgentClient, |
| 73 private WorkerLoaderProxyProvider { | 73 private WorkerLoaderProxyProvider { |
| 74 public: | 74 public: |
| 75 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); | 75 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); |
| 76 | 76 |
| 77 // WorkerReportingProxy methods: | 77 // WorkerReportingProxy methods: |
| 78 void countFeature(UseCounter::Feature) override; |
| 79 void countDeprecation(UseCounter::Feature) override; |
| 78 void reportException(const WTF::String&, | 80 void reportException(const WTF::String&, |
| 79 std::unique_ptr<SourceLocation>, | 81 std::unique_ptr<SourceLocation>, |
| 80 int exceptionId) override; | 82 int exceptionId) override; |
| 81 void reportConsoleMessage(MessageSource, | 83 void reportConsoleMessage(MessageSource, |
| 82 MessageLevel, | 84 MessageLevel, |
| 83 const String& message, | 85 const String& message, |
| 84 SourceLocation*) override; | 86 SourceLocation*) override; |
| 85 void postMessageToPageInspector(const WTF::String&) override; | 87 void postMessageToPageInspector(const WTF::String&) override; |
| 86 ParentFrameTaskRunners* getParentFrameTaskRunners() override; | 88 ParentFrameTaskRunners* getParentFrameTaskRunners() override; |
| 87 void didEvaluateWorkerScript(bool success) override {} | 89 void didEvaluateWorkerScript(bool success) override {} |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 RefPtr<WorkerLoaderProxy> m_loaderProxy; | 185 RefPtr<WorkerLoaderProxy> m_loaderProxy; |
| 184 | 186 |
| 185 WebURL m_url; | 187 WebURL m_url; |
| 186 WebString m_name; | 188 WebString m_name; |
| 187 WebAddressSpace m_creationAddressSpace; | 189 WebAddressSpace m_creationAddressSpace; |
| 188 }; | 190 }; |
| 189 | 191 |
| 190 } // namespace blink | 192 } // namespace blink |
| 191 | 193 |
| 192 #endif // WebSharedWorkerImpl_h | 194 #endif // WebSharedWorkerImpl_h |
| OLD | NEW |