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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp

Issue 2246233002: [DevTools] Move platform/v8_inspector classes under v8_inspector namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "platform/v8_inspector/V8Console.h" 5 #include "platform/v8_inspector/V8Console.h"
6 6
7 #include "platform/v8_inspector/InjectedScript.h" 7 #include "platform/v8_inspector/InjectedScript.h"
8 #include "platform/v8_inspector/InspectedContext.h" 8 #include "platform/v8_inspector/InspectedContext.h"
9 #include "platform/v8_inspector/V8Compat.h" 9 #include "platform/v8_inspector/V8Compat.h"
10 #include "platform/v8_inspector/V8ConsoleMessage.h" 10 #include "platform/v8_inspector/V8ConsoleMessage.h"
11 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" 11 #include "platform/v8_inspector/V8DebuggerAgentImpl.h"
12 #include "platform/v8_inspector/V8InspectorImpl.h" 12 #include "platform/v8_inspector/V8InspectorImpl.h"
13 #include "platform/v8_inspector/V8InspectorSessionImpl.h" 13 #include "platform/v8_inspector/V8InspectorSessionImpl.h"
14 #include "platform/v8_inspector/V8ProfilerAgentImpl.h" 14 #include "platform/v8_inspector/V8ProfilerAgentImpl.h"
15 #include "platform/v8_inspector/V8RuntimeAgentImpl.h" 15 #include "platform/v8_inspector/V8RuntimeAgentImpl.h"
16 #include "platform/v8_inspector/V8StackTraceImpl.h" 16 #include "platform/v8_inspector/V8StackTraceImpl.h"
17 #include "platform/v8_inspector/V8StringUtil.h" 17 #include "platform/v8_inspector/V8StringUtil.h"
18 #include "platform/v8_inspector/public/V8InspectorClient.h" 18 #include "platform/v8_inspector/public/V8InspectorClient.h"
19 19
20 namespace blink { 20 namespace v8_inspector {
21 21
22 namespace { 22 namespace {
23 23
24 v8::Local<v8::Private> inspectedContextPrivateKey(v8::Isolate* isolate) 24 v8::Local<v8::Private> inspectedContextPrivateKey(v8::Isolate* isolate)
25 { 25 {
26 return v8::Private::ForApi(isolate, toV8StringInternalized(isolate, "V8Conso le#InspectedContext")); 26 return v8::Private::ForApi(isolate, toV8StringInternalized(isolate, "V8Conso le#InspectedContext"));
27 } 27 }
28 28
29 class ConsoleHelper { 29 class ConsoleHelper {
30 PROTOCOL_DISALLOW_COPY(ConsoleHelper); 30 PROTOCOL_DISALLOW_COPY(ConsoleHelper);
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 if (!names->Get(m_context, i).ToLocal(&name) || !name->IsName()) 820 if (!names->Get(m_context, i).ToLocal(&name) || !name->IsName())
821 continue; 821 continue;
822 if (name->IsString()) { 822 if (name->IsString()) {
823 v8::Local<v8::Value> descriptor; 823 v8::Local<v8::Value> descriptor;
824 bool success = m_global->GetOwnPropertyDescriptor(m_context, v8::Loc al<v8::String>::Cast(name)).ToLocal(&descriptor); 824 bool success = m_global->GetOwnPropertyDescriptor(m_context, v8::Loc al<v8::String>::Cast(name)).ToLocal(&descriptor);
825 DCHECK(success); 825 DCHECK(success);
826 } 826 }
827 } 827 }
828 } 828 }
829 829
830 } // namespace blink 830 } // namespace v8_inspector
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698