Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: src/inspector/v8-console-agent-impl.cc

Issue 2338413003: [inspector] change implementation file extension from cpp to cc (Closed)
Patch Set: string16 -> string-16 Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/inspector/v8-console-agent-impl.h ('k') | src/inspector/v8-console-message.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project 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 #include "src/inspector/V8ConsoleAgentImpl.h" 5 #include "src/inspector/v8-console-agent-impl.h"
6 6
7 #include "src/inspector/V8ConsoleMessage.h"
8 #include "src/inspector/V8InspectorImpl.h"
9 #include "src/inspector/V8InspectorSessionImpl.h"
10 #include "src/inspector/V8StackTraceImpl.h"
11 #include "src/inspector/protocol/Protocol.h" 7 #include "src/inspector/protocol/Protocol.h"
8 #include "src/inspector/v8-console-message.h"
9 #include "src/inspector/v8-inspector-impl.h"
10 #include "src/inspector/v8-inspector-session-impl.h"
11 #include "src/inspector/v8-stack-trace-impl.h"
12 12
13 namespace v8_inspector { 13 namespace v8_inspector {
14 14
15 namespace ConsoleAgentState { 15 namespace ConsoleAgentState {
16 static const char consoleEnabled[] = "consoleEnabled"; 16 static const char consoleEnabled[] = "consoleEnabled";
17 } 17 }
18 18
19 V8ConsoleAgentImpl::V8ConsoleAgentImpl( 19 V8ConsoleAgentImpl::V8ConsoleAgentImpl(
20 V8InspectorSessionImpl* session, protocol::FrontendChannel* frontendChannel, 20 V8InspectorSessionImpl* session, protocol::FrontendChannel* frontendChannel,
21 protocol::DictionaryValue* state) 21 protocol::DictionaryValue* state)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 bool V8ConsoleAgentImpl::reportMessage(V8ConsoleMessage* message, 70 bool V8ConsoleAgentImpl::reportMessage(V8ConsoleMessage* message,
71 bool generatePreview) { 71 bool generatePreview) {
72 DCHECK(message->origin() == V8MessageOrigin::kConsole); 72 DCHECK(message->origin() == V8MessageOrigin::kConsole);
73 message->reportToFrontend(&m_frontend); 73 message->reportToFrontend(&m_frontend);
74 m_frontend.flush(); 74 m_frontend.flush();
75 return m_session->inspector()->hasConsoleMessageStorage( 75 return m_session->inspector()->hasConsoleMessageStorage(
76 m_session->contextGroupId()); 76 m_session->contextGroupId());
77 } 77 }
78 78
79 } // namespace v8_inspector 79 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/v8-console-agent-impl.h ('k') | src/inspector/v8-console-message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698