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

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010-2011 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual ~Listener() { } 122 virtual ~Listener() { }
123 virtual void debuggerWasEnabled() = 0; 123 virtual void debuggerWasEnabled() = 0;
124 virtual void debuggerWasDisabled() = 0; 124 virtual void debuggerWasDisabled() = 0;
125 virtual void stepInto() = 0; 125 virtual void stepInto() = 0;
126 virtual void didPause() = 0; 126 virtual void didPause() = 0;
127 }; 127 };
128 void setListener(Listener* listener) { m_listener = listener; } 128 void setListener(Listener* listener) { m_listener = listener; }
129 129
130 virtual ScriptDebugServer& scriptDebugServer() = 0; 130 virtual ScriptDebugServer& scriptDebugServer() = 0;
131 131
132 virtual void reportMemoryUsage(MemoryObjectInfo*) const;
133
134 protected: 132 protected:
135 InspectorDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, Injec tedScriptManager*); 133 InspectorDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, Injec tedScriptManager*);
136 134
137 virtual void startListeningScriptDebugServer() = 0; 135 virtual void startListeningScriptDebugServer() = 0;
138 virtual void stopListeningScriptDebugServer() = 0; 136 virtual void stopListeningScriptDebugServer() = 0;
139 virtual void muteConsole() = 0; 137 virtual void muteConsole() = 0;
140 virtual void unmuteConsole() = 0; 138 virtual void unmuteConsole() = 0;
141 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana ger; } 139 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana ger; }
142 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut ionContextId) = 0; 140 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut ionContextId) = 0;
143 141
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 InspectorFrontend::Debugger::Reason::Enum m_breakReason; 175 InspectorFrontend::Debugger::Reason::Enum m_breakReason;
178 RefPtr<InspectorObject> m_breakAuxData; 176 RefPtr<InspectorObject> m_breakAuxData;
179 bool m_javaScriptPauseScheduled; 177 bool m_javaScriptPauseScheduled;
180 Listener* m_listener; 178 Listener* m_listener;
181 }; 179 };
182 180
183 } // namespace WebCore 181 } // namespace WebCore
184 182
185 183
186 #endif // !defined(InspectorDebuggerAgent_h) 184 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDOMStorageAgent.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698