OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 virtual void setMonitoringXHREnabled(ErrorString*, bool enabled) OVERRIDE; | 103 virtual void setMonitoringXHREnabled(ErrorString*, bool enabled) OVERRIDE; |
104 virtual void addInspectedNode(ErrorString*, int nodeId) = 0; | 104 virtual void addInspectedNode(ErrorString*, int nodeId) = 0; |
105 virtual void addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId)
OVERRIDE; | 105 virtual void addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId)
OVERRIDE; |
106 | 106 |
107 virtual bool isWorkerAgent() = 0; | 107 virtual bool isWorkerAgent() = 0; |
108 | 108 |
109 protected: | 109 protected: |
110 void addConsoleMessage(PassOwnPtr<ConsoleMessage>); | 110 void addConsoleMessage(PassOwnPtr<ConsoleMessage>); |
111 | 111 |
112 RawPtrWillBeMember<InspectorTimelineAgent> m_timelineAgent; | 112 RawPtrWillBeMember<InspectorTimelineAgent> m_timelineAgent; |
113 // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL. | 113 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
114 InjectedScriptManager* m_injectedScriptManager; | |
115 InspectorFrontend::Console* m_frontend; | 114 InspectorFrontend::Console* m_frontend; |
116 Vector<OwnPtr<ConsoleMessage> > m_consoleMessages; | 115 Vector<OwnPtr<ConsoleMessage> > m_consoleMessages; |
117 int m_expiredConsoleMessageCount; | 116 int m_expiredConsoleMessageCount; |
118 HashCountedSet<String> m_counts; | 117 HashCountedSet<String> m_counts; |
119 HashMap<String, double> m_times; | 118 HashMap<String, double> m_times; |
120 bool m_enabled; | 119 bool m_enabled; |
121 private: | 120 private: |
122 static int s_enabledAgentCount; | 121 static int s_enabledAgentCount; |
123 }; | 122 }; |
124 | 123 |
125 } // namespace WebCore | 124 } // namespace WebCore |
126 | 125 |
127 | 126 |
128 #endif // !defined(InspectorConsoleAgent_h) | 127 #endif // !defined(InspectorConsoleAgent_h) |
OLD | NEW |