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

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

Issue 2523743003: Roll third_party/inspector_protocol to 73028acaa3646789fd2a3bfd0d79eb2d91b696b3 (Closed)
Patch Set: addressed comments Created 4 years 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-debugger-agent-impl.cc ('k') | src/inspector/v8-heap-profiler-agent-impl.cc » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/v8-debugger-script.h" 5 #include "src/inspector/v8-debugger-script.h"
6 6
7 #include "src/inspector/protocol-platform.h"
8 #include "src/inspector/string-util.h" 7 #include "src/inspector/string-util.h"
9 8
10 namespace v8_inspector { 9 namespace v8_inspector {
11 10
12 static const char hexDigits[17] = "0123456789ABCDEF"; 11 static const char hexDigits[17] = "0123456789ABCDEF";
13 12
14 static void appendUnsignedAsHex(uint64_t number, String16Builder* destination) { 13 static void appendUnsignedAsHex(uint64_t number, String16Builder* destination) {
15 for (size_t i = 0; i < 8; ++i) { 14 for (size_t i = 0; i < 8; ++i) {
16 UChar c = hexDigits[number & 0xF]; 15 UChar c = hexDigits[number & 0xF];
17 destination->append(c); 16 destination->append(c);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 bool V8DebuggerScript::getPossibleBreakpoints( 175 bool V8DebuggerScript::getPossibleBreakpoints(
177 const v8::DebugInterface::Location& start, 176 const v8::DebugInterface::Location& start,
178 const v8::DebugInterface::Location& end, 177 const v8::DebugInterface::Location& end,
179 std::vector<v8::DebugInterface::Location>* locations) { 178 std::vector<v8::DebugInterface::Location>* locations) {
180 v8::HandleScope scope(m_isolate); 179 v8::HandleScope scope(m_isolate);
181 v8::Local<v8::DebugInterface::Script> script = m_script.Get(m_isolate); 180 v8::Local<v8::DebugInterface::Script> script = m_script.Get(m_isolate);
182 return script->GetPossibleBreakpoints(start, end, locations); 181 return script->GetPossibleBreakpoints(start, end, locations);
183 } 182 }
184 183
185 } // namespace v8_inspector 184 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | src/inspector/v8-heap-profiler-agent-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698