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

Side by Side Diff: third_party/WebKit/Source/core/inspector/ScriptCallFrame.h

Issue 1666563005: DevTools: merge ScriptCallStack and ScriptAsyncCallStack, move CallStacks from console to Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: testts Created 4 years, 10 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
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 ScriptCallFrame(); 46 ScriptCallFrame();
47 ScriptCallFrame(const String& functionName, const String& scriptId, const St ring& scriptName, unsigned lineNumber, unsigned column = 0); 47 ScriptCallFrame(const String& functionName, const String& scriptId, const St ring& scriptName, unsigned lineNumber, unsigned column = 0);
48 ~ScriptCallFrame(); 48 ~ScriptCallFrame();
49 49
50 const String& functionName() const { return m_functionName; } 50 const String& functionName() const { return m_functionName; }
51 const String& scriptId() const { return m_scriptId; } 51 const String& scriptId() const { return m_scriptId; }
52 const String& sourceURL() const { return m_scriptName; } 52 const String& sourceURL() const { return m_scriptName; }
53 unsigned lineNumber() const { return m_lineNumber; } 53 unsigned lineNumber() const { return m_lineNumber; }
54 unsigned columnNumber() const { return m_column; } 54 unsigned columnNumber() const { return m_column; }
55 55
56 PassRefPtr<TypeBuilder::Console::CallFrame> buildInspectorObject() const; 56 PassRefPtr<TypeBuilder::Runtime::CallFrame> buildInspectorObject() const;
57 void toTracedValue(TracedValue*) const; 57 void toTracedValue(TracedValue*) const;
58 58
59 private: 59 private:
60 String m_functionName; 60 String m_functionName;
61 String m_scriptId; 61 String m_scriptId;
62 String m_scriptName; 62 String m_scriptName;
63 unsigned m_lineNumber; 63 unsigned m_lineNumber;
64 unsigned m_column; 64 unsigned m_column;
65 }; 65 };
66 66
67 } // namespace blink 67 } // namespace blink
68 68
69 #endif // ScriptCallFrame_h 69 #endif // ScriptCallFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698