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

Side by Side Diff: src/inspector/v8-value-copier.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-value-copier.h ('k') | tools/presubmit.py » ('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/V8ValueCopier.h" 5 #include "src/inspector/v8-value-copier.h"
6 6
7 namespace v8_inspector { 7 namespace v8_inspector {
8 8
9 namespace { 9 namespace {
10 10
11 static int kMaxDepth = 20; 11 static int kMaxDepth = 20;
12 static int kMaxCalls = 1000; 12 static int kMaxCalls = 1000;
13 13
14 class V8ValueCopier { 14 class V8ValueCopier {
15 public: 15 public:
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 v8::Local<v8::Array> array, int index, 101 v8::Local<v8::Array> array, int index,
102 v8::Local<v8::Value> value) { 102 v8::Local<v8::Value> value) {
103 v8::TryCatch tryCatch(context->GetIsolate()); 103 v8::TryCatch tryCatch(context->GetIsolate());
104 v8::Isolate::DisallowJavascriptExecutionScope throwJs( 104 v8::Isolate::DisallowJavascriptExecutionScope throwJs(
105 context->GetIsolate(), 105 context->GetIsolate(),
106 v8::Isolate::DisallowJavascriptExecutionScope::THROW_ON_FAILURE); 106 v8::Isolate::DisallowJavascriptExecutionScope::THROW_ON_FAILURE);
107 return array->CreateDataProperty(context, index, value); 107 return array->CreateDataProperty(context, index, value);
108 } 108 }
109 109
110 } // namespace v8_inspector 110 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/v8-value-copier.h ('k') | tools/presubmit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698