| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
| 4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 , m_callStack(callStack) | 87 , m_callStack(callStack) |
| 88 , m_line(0) | 88 , m_line(0) |
| 89 , m_column(0) | 89 , m_column(0) |
| 90 , m_requestId(IdentifiersFactory::requestId(requestIdentifier)) | 90 , m_requestId(IdentifiersFactory::requestId(requestIdentifier)) |
| 91 , m_timestamp(WTF::currentTime()) | 91 , m_timestamp(WTF::currentTime()) |
| 92 , m_workerProxy(nullptr) | 92 , m_workerProxy(nullptr) |
| 93 { | 93 { |
| 94 autogenerateMetadata(false); | 94 autogenerateMetadata(false); |
| 95 } | 95 } |
| 96 | 96 |
| 97 InspectorConsoleMessage::InspectorConsoleMessage(MessageSource source, MessageTy
pe type, MessageLevel level, const String& message, PassRefPtrWillBeRawPtr<Scrip
tArguments> arguments, ScriptState* scriptState, unsigned long requestIdentifier
) | 97 InspectorConsoleMessage::InspectorConsoleMessage(MessageSource source, MessageTy
pe type, MessageLevel level, const String& message, PassRefPtrWillBeRawPtr<Scrip
tArguments> arguments, ScriptState* scriptState) |
| 98 : m_source(source) | 98 : m_source(source) |
| 99 , m_type(type) | 99 , m_type(type) |
| 100 , m_level(level) | 100 , m_level(level) |
| 101 , m_message(message) | 101 , m_message(message) |
| 102 , m_scriptState(scriptState) | 102 , m_scriptState(scriptState) |
| 103 , m_arguments(arguments) | 103 , m_arguments(arguments) |
| 104 , m_url() | 104 , m_url() |
| 105 , m_line(0) | 105 , m_line(0) |
| 106 , m_column(0) | 106 , m_column(0) |
| 107 , m_requestId(IdentifiersFactory::requestId(requestIdentifier)) | 107 , m_requestId(IdentifiersFactory::requestId(0)) |
| 108 , m_timestamp(WTF::currentTime()) | 108 , m_timestamp(WTF::currentTime()) |
| 109 , m_workerProxy(nullptr) | 109 , m_workerProxy(nullptr) |
| 110 { | 110 { |
| 111 autogenerateMetadata(); | 111 autogenerateMetadata(); |
| 112 } | 112 } |
| 113 | 113 |
| 114 InspectorConsoleMessage::~InspectorConsoleMessage() | 114 InspectorConsoleMessage::~InspectorConsoleMessage() |
| 115 { | 115 { |
| 116 } | 116 } |
| 117 | 117 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 } | 252 } |
| 253 | 253 |
| 254 unsigned InspectorConsoleMessage::argumentCount() | 254 unsigned InspectorConsoleMessage::argumentCount() |
| 255 { | 255 { |
| 256 if (m_arguments) | 256 if (m_arguments) |
| 257 return m_arguments->argumentCount(); | 257 return m_arguments->argumentCount(); |
| 258 return 0; | 258 return 0; |
| 259 } | 259 } |
| 260 | 260 |
| 261 } // namespace blink | 261 } // namespace blink |
| OLD | NEW |