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

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

Issue 2633803002: [inspector] implemented blackboxing inside v8 (Closed)
Patch Set: addressed comments 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 | « 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 void setSourceURL(const String16&); 67 void setSourceURL(const String16&);
68 virtual void setSourceMappingURL(const String16&) = 0; 68 virtual void setSourceMappingURL(const String16&) = 0;
69 virtual void setSource(v8::Local<v8::String> source) { 69 virtual void setSource(v8::Local<v8::String> source) {
70 m_source = toProtocolString(source); 70 m_source = toProtocolString(source);
71 } 71 }
72 72
73 virtual bool getPossibleBreakpoints( 73 virtual bool getPossibleBreakpoints(
74 const v8::debug::Location& start, const v8::debug::Location& end, 74 const v8::debug::Location& start, const v8::debug::Location& end,
75 std::vector<v8::debug::Location>* locations) = 0; 75 std::vector<v8::debug::Location>* locations) = 0;
76 virtual void resetBlackboxedStateCache() = 0;
76 77
77 protected: 78 protected:
78 V8DebuggerScript(v8::Isolate*, String16 id, String16 url); 79 V8DebuggerScript(v8::Isolate*, String16 id, String16 url);
79 80
80 String16 m_id; 81 String16 m_id;
81 String16 m_url; 82 String16 m_url;
82 String16 m_sourceURL; 83 String16 m_sourceURL;
83 String16 m_source; 84 String16 m_source;
84 mutable String16 m_hash; 85 mutable String16 m_hash;
85 int m_startLine = 0; 86 int m_startLine = 0;
86 int m_startColumn = 0; 87 int m_startColumn = 0;
87 int m_endLine = 0; 88 int m_endLine = 0;
88 int m_endColumn = 0; 89 int m_endColumn = 0;
89 int m_executionContextId = 0; 90 int m_executionContextId = 0;
90 91
91 v8::Isolate* m_isolate; 92 v8::Isolate* m_isolate;
92 93
93 private: 94 private:
94 DISALLOW_COPY_AND_ASSIGN(V8DebuggerScript); 95 DISALLOW_COPY_AND_ASSIGN(V8DebuggerScript);
95 }; 96 };
96 97
97 } // namespace v8_inspector 98 } // namespace v8_inspector
98 99
99 #endif // V8_INSPECTOR_V8DEBUGGERSCRIPT_H_ 100 #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