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

Side by Side Diff: include/v8-debug.h

Issue 2589203002: [debugger] deprecate v8::Debug:GetDebugContext. (Closed)
Patch Set: remove deprecated use Created 3 years, 11 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 | « no previous file | src/api.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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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_V8_DEBUG_H_ 5 #ifndef V8_V8_DEBUG_H_
6 #define V8_V8_DEBUG_H_ 6 #define V8_V8_DEBUG_H_
7 7
8 #include "v8.h" // NOLINT(build/include) 8 #include "v8.h" // NOLINT(build/include)
9 9
10 /** 10 /**
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 V8_DEPRECATED("No longer supported", 241 V8_DEPRECATED("No longer supported",
242 static void ProcessDebugMessages(Isolate* isolate)); 242 static void ProcessDebugMessages(Isolate* isolate));
243 243
244 /** 244 /**
245 * Debugger is running in its own context which is entered while debugger 245 * Debugger is running in its own context which is entered while debugger
246 * messages are being dispatched. This is an explicit getter for this 246 * messages are being dispatched. This is an explicit getter for this
247 * debugger context. Note that the content of the debugger context is subject 247 * debugger context. Note that the content of the debugger context is subject
248 * to change. The Context exists only when the debugger is active, i.e. at 248 * to change. The Context exists only when the debugger is active, i.e. at
249 * least one DebugEventListener or MessageHandler is set. 249 * least one DebugEventListener or MessageHandler is set.
250 */ 250 */
251 static Local<Context> GetDebugContext(Isolate* isolate); 251 V8_DEPRECATED("Use v8-inspector",
252 static Local<Context> GetDebugContext(Isolate* isolate));
252 253
253 /** 254 /**
254 * While in the debug context, this method returns the top-most non-debug 255 * While in the debug context, this method returns the top-most non-debug
255 * context, if it exists. 256 * context, if it exists.
256 */ 257 */
257 V8_DEPRECATED( 258 V8_DEPRECATED(
258 "No longer supported", 259 "No longer supported",
259 static MaybeLocal<Context> GetDebuggedContext(Isolate* isolate)); 260 static MaybeLocal<Context> GetDebuggedContext(Isolate* isolate));
260 261
261 /** 262 /**
(...skipping 21 matching lines...) Expand all
283 }; 284 };
284 285
285 286
286 } // namespace v8 287 } // namespace v8
287 288
288 289
289 #undef EXPORT 290 #undef EXPORT
290 291
291 292
292 #endif // V8_V8_DEBUG_H_ 293 #endif // V8_V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698