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

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

Issue 1702673002: DevTools: migrate remote debugging protocol generators to jinja2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/V8InjectedScriptHost.h" 5 #include "platform/v8_inspector/V8InjectedScriptHost.h"
6 6
7 #include "platform/JSONValues.h" 7 #include "platform/JSONValues.h"
8 #include "platform/JSONValuesForV8.h" 8 #include "platform/JSONValuesForV8.h"
9 #include "platform/v8_inspector/InjectedScript.h" 9 #include "platform/v8_inspector/InjectedScript.h"
10 #include "platform/v8_inspector/InjectedScriptHost.h" 10 #include "platform/v8_inspector/InjectedScriptHost.h"
11 #include "platform/v8_inspector/InspectorWrapper.h" 11 #include "platform/v8_inspector/InspectorWrapper.h"
12 #include "platform/v8_inspector/JavaScriptCallFrame.h" 12 #include "platform/v8_inspector/JavaScriptCallFrame.h"
13 #include "platform/v8_inspector/V8DebuggerImpl.h" 13 #include "platform/v8_inspector/V8DebuggerImpl.h"
14 #include "platform/v8_inspector/V8StringUtil.h" 14 #include "platform/v8_inspector/V8StringUtil.h"
15 #include "platform/v8_inspector/public/V8DebuggerClient.h" 15 #include "platform/v8_inspector/public/V8DebuggerClient.h"
16 #include "platform/v8_inspector/public/V8EventListenerInfo.h" 16 #include "platform/v8_inspector/public/V8EventListenerInfo.h"
17 #include "wtf/HashSet.h"
17 #include "wtf/NonCopyingSort.h" 18 #include "wtf/NonCopyingSort.h"
18 #include "wtf/RefPtr.h" 19 #include "wtf/RefPtr.h"
20 #include "wtf/text/WTFString.h"
19 #include <algorithm> 21 #include <algorithm>
20 22
21 namespace blink { 23 namespace blink {
22 24
23 namespace { 25 namespace {
24 26
25 template<typename CallbackInfo, typename S> 27 template<typename CallbackInfo, typename S>
26 inline void v8SetReturnValue(const CallbackInfo& info, const v8::Local<S> handle ) 28 inline void v8SetReturnValue(const CallbackInfo& info, const v8::Local<S> handle )
27 { 29 {
28 info.GetReturnValue().Set(handle); 30 info.GetReturnValue().Set(handle);
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 { 605 {
604 return InjectedScriptHostWrapper::wrap(client, constructorTemplate, context, host); 606 return InjectedScriptHostWrapper::wrap(client, constructorTemplate, context, host);
605 } 607 }
606 608
607 InjectedScriptHost* V8InjectedScriptHost::unwrap(v8::Local<v8::Context> context, v8::Local<v8::Object> object) 609 InjectedScriptHost* V8InjectedScriptHost::unwrap(v8::Local<v8::Context> context, v8::Local<v8::Object> object)
608 { 610 {
609 return InjectedScriptHostWrapper::unwrap(context, object); 611 return InjectedScriptHostWrapper::unwrap(context, object);
610 } 612 }
611 613
612 } // namespace blink 614 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698