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