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

Side by Side Diff: src/inspector/v8-injected-script-host.cc

Issue 2338413003: [inspector] change implementation file extension from cpp to cc (Closed)
Patch Set: string16 -> string-16 Created 4 years, 2 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-injected-script-host.h ('k') | src/inspector/v8-inspector-impl.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/V8InjectedScriptHost.h" 5 #include "src/inspector/v8-injected-script-host.h"
6 6
7 #include "src/base/macros.h" 7 #include "src/base/macros.h"
8 #include "src/inspector/InjectedScriptNative.h" 8 #include "src/inspector/injected-script-native.h"
9 #include "src/inspector/StringUtil.h" 9 #include "src/inspector/string-util.h"
10 #include "src/inspector/V8Debugger.h" 10 #include "src/inspector/v8-debugger.h"
11 #include "src/inspector/V8InspectorImpl.h" 11 #include "src/inspector/v8-inspector-impl.h"
12 #include "src/inspector/V8InternalValueType.h" 12 #include "src/inspector/v8-internal-value-type.h"
13 #include "src/inspector/V8ValueCopier.h" 13 #include "src/inspector/v8-value-copier.h"
14 14
15 #include "include/v8-inspector.h" 15 #include "include/v8-inspector.h"
16 16
17 namespace v8_inspector { 17 namespace v8_inspector {
18 18
19 namespace { 19 namespace {
20 20
21 void setFunctionProperty(v8::Local<v8::Context> context, 21 void setFunctionProperty(v8::Local<v8::Context> context,
22 v8::Local<v8::Object> obj, const char* name, 22 v8::Local<v8::Object> obj, const char* name,
23 v8::FunctionCallback callback, 23 v8::FunctionCallback callback,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 UNREACHABLE(); 207 UNREACHABLE();
208 return; 208 return;
209 } 209 }
210 v8::Local<v8::Object> target = info[0].As<v8::Proxy>(); 210 v8::Local<v8::Object> target = info[0].As<v8::Proxy>();
211 while (target->IsProxy()) 211 while (target->IsProxy())
212 target = v8::Local<v8::Proxy>::Cast(target)->GetTarget(); 212 target = v8::Local<v8::Proxy>::Cast(target)->GetTarget();
213 info.GetReturnValue().Set(target); 213 info.GetReturnValue().Set(target);
214 } 214 }
215 215
216 } // namespace v8_inspector 216 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/v8-injected-script-host.h ('k') | src/inspector/v8-inspector-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698