| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ConsoleMessage_h | 5 #ifndef ConsoleMessage_h |
| 6 #define ConsoleMessage_h | 6 #define ConsoleMessage_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/inspector/ConsoleTypes.h" | 9 #include "core/inspector/ConsoleTypes.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 #include "wtf/Forward.h" | 11 #include "platform/wtf/Forward.h" |
| 12 #include "wtf/text/WTFString.h" | 12 #include "platform/wtf/text/WTFString.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class SourceLocation; | 16 class SourceLocation; |
| 17 | 17 |
| 18 class CORE_EXPORT ConsoleMessage final | 18 class CORE_EXPORT ConsoleMessage final |
| 19 : public GarbageCollectedFinalized<ConsoleMessage> { | 19 : public GarbageCollectedFinalized<ConsoleMessage> { |
| 20 public: | 20 public: |
| 21 // Location must be non-null. | 21 // Location must be non-null. |
| 22 static ConsoleMessage* Create(MessageSource, | 22 static ConsoleMessage* Create(MessageSource, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 String message_; | 65 String message_; |
| 66 std::unique_ptr<SourceLocation> location_; | 66 std::unique_ptr<SourceLocation> location_; |
| 67 unsigned long request_identifier_; | 67 unsigned long request_identifier_; |
| 68 double timestamp_; | 68 double timestamp_; |
| 69 String worker_id_; | 69 String worker_id_; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace blink | 72 } // namespace blink |
| 73 | 73 |
| 74 #endif // ConsoleMessage_h | 74 #endif // ConsoleMessage_h |
| OLD | NEW |