| 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 21 matching lines...) Expand all Loading... |
| 32 #define WorkerReportingProxy_h | 32 #define WorkerReportingProxy_h |
| 33 | 33 |
| 34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
| 35 #include "core/inspector/ConsoleTypes.h" | 35 #include "core/inspector/ConsoleTypes.h" |
| 36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
| 37 #include "wtf/Forward.h" | 37 #include "wtf/Forward.h" |
| 38 #include <memory> | 38 #include <memory> |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class ConsoleMessage; | |
| 43 class ParentFrameTaskRunners; | 42 class ParentFrameTaskRunners; |
| 44 class SourceLocation; | 43 class SourceLocation; |
| 45 class WorkerOrWorkletGlobalScope; | 44 class WorkerOrWorkletGlobalScope; |
| 46 | 45 |
| 47 // APIs used by workers to report console and worker activity. | 46 // APIs used by workers to report console and worker activity. |
| 48 class CORE_EXPORT WorkerReportingProxy { | 47 class CORE_EXPORT WorkerReportingProxy { |
| 49 public: | 48 public: |
| 50 virtual ~WorkerReportingProxy() {} | 49 virtual ~WorkerReportingProxy() {} |
| 51 | 50 |
| 52 virtual void reportException(const String& errorMessage, | 51 virtual void reportException(const String& errorMessage, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 virtual void willDestroyWorkerGlobalScope() = 0; | 91 virtual void willDestroyWorkerGlobalScope() = 0; |
| 93 | 92 |
| 94 // Invoked when the thread is stopped and WorkerGlobalScope is being | 93 // Invoked when the thread is stopped and WorkerGlobalScope is being |
| 95 // destructed. This is the last method that is called on this interface. | 94 // destructed. This is the last method that is called on this interface. |
| 96 virtual void didTerminateWorkerThread() = 0; | 95 virtual void didTerminateWorkerThread() = 0; |
| 97 }; | 96 }; |
| 98 | 97 |
| 99 } // namespace blink | 98 } // namespace blink |
| 100 | 99 |
| 101 #endif // WorkerReportingProxy_h | 100 #endif // WorkerReportingProxy_h |
| OLD | NEW |