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

Side by Side Diff: src/inspector/v8-internal-value-type.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-internal-value-type.h ('k') | src/inspector/v8-profiler-agent-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 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/V8InternalValueType.h" 5 #include "src/inspector/v8-internal-value-type.h"
6 6
7 #include "src/inspector/ProtocolPlatform.h" 7 #include "src/inspector/protocol-platform.h"
8 #include "src/inspector/StringUtil.h" 8 #include "src/inspector/string-util.h"
9 9
10 namespace v8_inspector { 10 namespace v8_inspector {
11 11
12 namespace { 12 namespace {
13 13
14 v8::Local<v8::Private> internalSubtypePrivate(v8::Isolate* isolate) { 14 v8::Local<v8::Private> internalSubtypePrivate(v8::Isolate* isolate) {
15 return v8::Private::ForApi( 15 return v8::Private::ForApi(
16 isolate, 16 isolate,
17 toV8StringInternalized(isolate, "V8InternalType#internalSubtype")); 17 toV8StringInternalized(isolate, "V8InternalType#internalSubtype"));
18 } 18 }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 if (!object->HasPrivate(context, privateValue).FromMaybe(false)) 68 if (!object->HasPrivate(context, privateValue).FromMaybe(false))
69 return v8::Null(isolate); 69 return v8::Null(isolate);
70 v8::Local<v8::Value> subtypeValue; 70 v8::Local<v8::Value> subtypeValue;
71 if (!object->GetPrivate(context, privateValue).ToLocal(&subtypeValue) || 71 if (!object->GetPrivate(context, privateValue).ToLocal(&subtypeValue) ||
72 !subtypeValue->IsString()) 72 !subtypeValue->IsString())
73 return v8::Null(isolate); 73 return v8::Null(isolate);
74 return subtypeValue; 74 return subtypeValue;
75 } 75 }
76 76
77 } // namespace v8_inspector 77 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/v8-internal-value-type.h ('k') | src/inspector/v8-profiler-agent-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698