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

Side by Side Diff: test/inspector/inspector-impl.h

Issue 2705533002: [inspector] remove iterators and for...of loops from injected-script-source (Closed)
Patch Set: ac Created 3 years, 9 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/injected-script-source.js ('k') | test/inspector/inspector-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 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_INSPECTOR_IMPL_H_ 5 #ifndef V8_TEST_INSPECTOR_PROTOCOL_INSPECTOR_IMPL_H_
6 #define V8_TEST_INSPECTOR_PROTOCOL_INSPECTOR_IMPL_H_ 6 #define V8_TEST_INSPECTOR_PROTOCOL_INSPECTOR_IMPL_H_
7 7
8 #include "include/v8-inspector.h" 8 #include "include/v8-inspector.h"
9 #include "include/v8.h" 9 #include "include/v8.h"
10 #include "src/base/macros.h" 10 #include "src/base/macros.h"
(...skipping 20 matching lines...) Expand all
31 v8::Local<v8::Context> context); 31 v8::Local<v8::Context> context);
32 static v8_inspector::V8InspectorSession* SessionFromContext( 32 static v8_inspector::V8InspectorSession* SessionFromContext(
33 v8::Local<v8::Context> context); 33 v8::Local<v8::Context> context);
34 34
35 void setCurrentTimeMSForTest(double time); 35 void setCurrentTimeMSForTest(double time);
36 36
37 v8_inspector::V8InspectorSession* session() const { return session_.get(); } 37 v8_inspector::V8InspectorSession* session() const { return session_.get(); }
38 38
39 private: 39 private:
40 // V8InspectorClient implementation. 40 // V8InspectorClient implementation.
41 bool formatAccessorsAsProperties(v8::Local<v8::Value>) override;
41 v8::Local<v8::Context> ensureDefaultContextInGroup( 42 v8::Local<v8::Context> ensureDefaultContextInGroup(
42 int context_group_id) override; 43 int context_group_id) override;
43 double currentTimeMS() override; 44 double currentTimeMS() override;
44 void runMessageLoopOnPause(int context_group_id) override; 45 void runMessageLoopOnPause(int context_group_id) override;
45 void quitMessageLoopOnPause() override; 46 void quitMessageLoopOnPause() override;
46 47
47 friend class SendMessageToBackendTask; 48 friend class SendMessageToBackendTask;
48 49
49 friend class ConnectTask; 50 friend class ConnectTask;
50 void connect(v8::Local<v8::Context> context); 51 void connect(v8::Local<v8::Context> context);
(...skipping 30 matching lines...) Expand all
81 } 82 }
82 83
83 private: 84 private:
84 static void SendMessageToBackend( 85 static void SendMessageToBackend(
85 const v8::FunctionCallbackInfo<v8::Value>& args); 86 const v8::FunctionCallbackInfo<v8::Value>& args);
86 87
87 static TaskRunner* backend_task_runner_; 88 static TaskRunner* backend_task_runner_;
88 }; 89 };
89 90
90 #endif // V8_TEST_INSPECTOR_PROTOCOL_INSPECTOR_IMPL_H_ 91 #endif // V8_TEST_INSPECTOR_PROTOCOL_INSPECTOR_IMPL_H_
OLDNEW
« no previous file with comments | « src/inspector/injected-script-source.js ('k') | test/inspector/inspector-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698