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

Side by Side Diff: src/inspector/v8-inspector-impl.h

Issue 2499273003: [inspector] introduced Script::TYPE_INSPECTOR (Closed)
Patch Set: rebased 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 | « src/inspector/v8-debugger.cc ('k') | src/inspector/v8-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 /* 1 /*
2 * Copyright (c) 2010, Google Inc. All rights reserved. 2 * Copyright (c) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 V8Debugger* debugger() { return m_debugger.get(); } 60 V8Debugger* debugger() { return m_debugger.get(); }
61 61
62 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>, 62 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>,
63 v8::Local<v8::Script>); 63 v8::Local<v8::Script>);
64 v8::MaybeLocal<v8::Value> callFunction(v8::Local<v8::Function>, 64 v8::MaybeLocal<v8::Value> callFunction(v8::Local<v8::Function>,
65 v8::Local<v8::Context>, 65 v8::Local<v8::Context>,
66 v8::Local<v8::Value> receiver, 66 v8::Local<v8::Value> receiver,
67 int argc, v8::Local<v8::Value> info[]); 67 int argc, v8::Local<v8::Value> info[]);
68 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context>, 68 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context>,
69 v8::Local<v8::String>); 69 v8::Local<v8::String>);
70 v8::Local<v8::Script> compileScript(v8::Local<v8::Context>, 70 v8::MaybeLocal<v8::Script> compileScript(v8::Local<v8::Context>,
71 v8::Local<v8::String>, 71 const String16& code,
72 const String16& fileName, 72 const String16& fileName);
73 bool markAsInternal);
74 v8::Local<v8::Context> regexContext(); 73 v8::Local<v8::Context> regexContext();
75 74
76 // V8Inspector implementation. 75 // V8Inspector implementation.
77 std::unique_ptr<V8InspectorSession> connect(int contextGroupId, 76 std::unique_ptr<V8InspectorSession> connect(int contextGroupId,
78 V8Inspector::Channel*, 77 V8Inspector::Channel*,
79 const StringView& state) override; 78 const StringView& state) override;
80 void contextCreated(const V8ContextInfo&) override; 79 void contextCreated(const V8ContextInfo&) override;
81 void contextDestroyed(v8::Local<v8::Context>) override; 80 void contextDestroyed(v8::Local<v8::Context>) override;
82 void resetContextGroup(int contextGroupId) override; 81 void resetContextGroup(int contextGroupId) override;
83 void willExecuteScript(v8::Local<v8::Context>, int scriptId) override; 82 void willExecuteScript(v8::Local<v8::Context>, int scriptId) override;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 using ConsoleStorageMap = 140 using ConsoleStorageMap =
142 protocol::HashMap<int, std::unique_ptr<V8ConsoleMessageStorage>>; 141 protocol::HashMap<int, std::unique_ptr<V8ConsoleMessageStorage>>;
143 ConsoleStorageMap m_consoleStorageMap; 142 ConsoleStorageMap m_consoleStorageMap;
144 143
145 DISALLOW_COPY_AND_ASSIGN(V8InspectorImpl); 144 DISALLOW_COPY_AND_ASSIGN(V8InspectorImpl);
146 }; 145 };
147 146
148 } // namespace v8_inspector 147 } // namespace v8_inspector
149 148
150 #endif // V8_INSPECTOR_V8INSPECTORIMPL_H_ 149 #endif // V8_INSPECTOR_V8INSPECTORIMPL_H_
OLDNEW
« no previous file with comments | « src/inspector/v8-debugger.cc ('k') | src/inspector/v8-inspector-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698