OLD | NEW |
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 30 matching lines...) Expand all Loading... |
41 class ScriptCallStack; | 41 class ScriptCallStack; |
42 class ScriptState; | 42 class ScriptState; |
43 | 43 |
44 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::Stac
kTrace::StackTraceOptions>( | 44 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::Stac
kTrace::StackTraceOptions>( |
45 v8::StackTrace::kLineNumber | 45 v8::StackTrace::kLineNumber |
46 | v8::StackTrace::kColumnOffset | 46 | v8::StackTrace::kColumnOffset |
47 | v8::StackTrace::kScriptId | 47 | v8::StackTrace::kScriptId |
48 | v8::StackTrace::kScriptNameOrSourceURL | 48 | v8::StackTrace::kScriptNameOrSourceURL |
49 | v8::StackTrace::kFunctionName); | 49 | v8::StackTrace::kFunctionName); |
50 | 50 |
51 PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::Sta
ckTrace>, size_t maxStackSize, v8::Isolate*); | 51 PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate*, v8::
Handle<v8::StackTrace>, size_t maxStackSize); |
52 PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSiz
e, bool emptyStackIsAllowed = false); | 52 PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSiz
e, bool emptyStackIsAllowed = false); |
53 PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStackForConsole(size_t m
axStackSize = ScriptCallStack::maxCallStackSizeToCapture, bool emptyStackIsAllow
ed = false); | 53 PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStackForConsole(size_t m
axStackSize = ScriptCallStack::maxCallStackSizeToCapture, bool emptyStackIsAllow
ed = false); |
54 PassRefPtrWillBeRawPtr<ScriptArguments> createScriptArguments(ScriptState*, cons
t v8::FunctionCallbackInfo<v8::Value>& v8arguments, unsigned skipArgumentCount); | 54 PassRefPtrWillBeRawPtr<ScriptArguments> createScriptArguments(ScriptState*, cons
t v8::FunctionCallbackInfo<v8::Value>& v8arguments, unsigned skipArgumentCount); |
55 | 55 |
56 } // namespace blink | 56 } // namespace blink |
57 | 57 |
58 #endif // ScriptCallStackFactory_h | 58 #endif // ScriptCallStackFactory_h |
OLD | NEW |