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

Side by Side Diff: test/inspector/task-runner.h

Issue 2465553003: [inspector] added Debugger.getPossibleBreakpoints method (Closed)
Patch Set: addressed comments Created 4 years, 1 month 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 | « test/inspector/protocol-test.js ('k') | test/inspector/task-runner.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 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 #ifndef V8_TEST_INSPECTOR_PROTOCOL_TASK_RUNNER_H_ 5 #ifndef V8_TEST_INSPECTOR_PROTOCOL_TASK_RUNNER_H_
6 #define V8_TEST_INSPECTOR_PROTOCOL_TASK_RUNNER_H_ 6 #define V8_TEST_INSPECTOR_PROTOCOL_TASK_RUNNER_H_
7 7
8 #include "include/v8-inspector.h" 8 #include "include/v8-inspector.h"
9 #include "include/v8-platform.h" 9 #include "include/v8-platform.h"
10 #include "include/v8.h" 10 #include "include/v8.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 int nested_loop_count_; 63 int nested_loop_count_;
64 64
65 v8::base::AtomicNumber<int> is_terminated_; 65 v8::base::AtomicNumber<int> is_terminated_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(TaskRunner); 67 DISALLOW_COPY_AND_ASSIGN(TaskRunner);
68 }; 68 };
69 69
70 class ExecuteStringTask : public TaskRunner::Task { 70 class ExecuteStringTask : public TaskRunner::Task {
71 public: 71 public:
72 explicit ExecuteStringTask(const v8::internal::Vector<uint16_t>& expression); 72 ExecuteStringTask(const v8::internal::Vector<uint16_t>& expression,
73 v8::Local<v8::String> name,
74 v8::Local<v8::Integer> line_offset,
75 v8::Local<v8::Integer> column_offset);
73 explicit ExecuteStringTask( 76 explicit ExecuteStringTask(
74 const v8::internal::Vector<const char>& expression); 77 const v8::internal::Vector<const char>& expression);
75 bool is_inspector_task() override { return false; } 78 bool is_inspector_task() override { return false; }
76 79
77 void Run(v8::Isolate* isolate, 80 void Run(v8::Isolate* isolate,
78 const v8::Global<v8::Context>& context) override; 81 const v8::Global<v8::Context>& context) override;
79 82
80 private: 83 private:
81 v8::internal::Vector<uint16_t> expression_; 84 v8::internal::Vector<uint16_t> expression_;
82 v8::internal::Vector<const char> expression_utf8_; 85 v8::internal::Vector<const char> expression_utf8_;
86 v8::internal::Vector<uint16_t> name_;
87 int32_t line_offset_;
88 int32_t column_offset_;
83 89
84 DISALLOW_COPY_AND_ASSIGN(ExecuteStringTask); 90 DISALLOW_COPY_AND_ASSIGN(ExecuteStringTask);
85 }; 91 };
86 92
87 #endif // V8_TEST_INSPECTOR_PROTOCOL_TASK_RUNNER_H_ 93 #endif // V8_TEST_INSPECTOR_PROTOCOL_TASK_RUNNER_H_
OLDNEW
« no previous file with comments | « test/inspector/protocol-test.js ('k') | test/inspector/task-runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698