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

Side by Side Diff: src/inspector/v8-debugger-script.h

Issue 2710953004: [inspector] added restrictToFunction flag for getPossibleBreakpoints (Closed)
Patch Set: addressed comments Created 3 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
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | src/inspector/v8-debugger-script.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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual bool isModule() const = 0; 70 virtual bool isModule() const = 0;
71 71
72 void setSourceURL(const String16&); 72 void setSourceURL(const String16&);
73 virtual void setSourceMappingURL(const String16&) = 0; 73 virtual void setSourceMappingURL(const String16&) = 0;
74 virtual void setSource(v8::Local<v8::String> source) { 74 virtual void setSource(v8::Local<v8::String> source) {
75 m_source = toProtocolString(source); 75 m_source = toProtocolString(source);
76 } 76 }
77 77
78 virtual bool getPossibleBreakpoints( 78 virtual bool getPossibleBreakpoints(
79 const v8::debug::Location& start, const v8::debug::Location& end, 79 const v8::debug::Location& start, const v8::debug::Location& end,
80 bool ignoreNestedFunctions,
80 std::vector<v8::debug::Location>* locations) = 0; 81 std::vector<v8::debug::Location>* locations) = 0;
81 virtual void resetBlackboxedStateCache() = 0; 82 virtual void resetBlackboxedStateCache() = 0;
82 83
83 protected: 84 protected:
84 V8DebuggerScript(v8::Isolate*, String16 id, String16 url); 85 V8DebuggerScript(v8::Isolate*, String16 id, String16 url);
85 86
86 String16 m_id; 87 String16 m_id;
87 String16 m_url; 88 String16 m_url;
88 String16 m_sourceURL; 89 String16 m_sourceURL;
89 String16 m_source; 90 String16 m_source;
90 mutable String16 m_hash; 91 mutable String16 m_hash;
91 int m_startLine = 0; 92 int m_startLine = 0;
92 int m_startColumn = 0; 93 int m_startColumn = 0;
93 int m_endLine = 0; 94 int m_endLine = 0;
94 int m_endColumn = 0; 95 int m_endColumn = 0;
95 int m_executionContextId = 0; 96 int m_executionContextId = 0;
96 97
97 v8::Isolate* m_isolate; 98 v8::Isolate* m_isolate;
98 99
99 private: 100 private:
100 DISALLOW_COPY_AND_ASSIGN(V8DebuggerScript); 101 DISALLOW_COPY_AND_ASSIGN(V8DebuggerScript);
101 }; 102 };
102 103
103 } // namespace v8_inspector 104 } // namespace v8_inspector
104 105
105 #endif // V8_INSPECTOR_V8DEBUGGERSCRIPT_H_ 106 #endif // V8_INSPECTOR_V8DEBUGGERSCRIPT_H_
OLDNEW
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | src/inspector/v8-debugger-script.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698