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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual void addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId)
OVERRIDE; | 104 virtual void addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId)
OVERRIDE; |
105 | 105 |
106 virtual bool isWorkerAgent() = 0; | 106 virtual bool isWorkerAgent() = 0; |
107 | 107 |
108 protected: | 108 protected: |
109 void addConsoleMessage(PassOwnPtr<ConsoleMessage>); | 109 void addConsoleMessage(PassOwnPtr<ConsoleMessage>); |
110 | 110 |
111 InspectorTimelineAgent* m_timelineAgent; | 111 InspectorTimelineAgent* m_timelineAgent; |
112 InjectedScriptManager* m_injectedScriptManager; | 112 InjectedScriptManager* m_injectedScriptManager; |
113 InspectorFrontend::Console* m_frontend; | 113 InspectorFrontend::Console* m_frontend; |
114 ConsoleMessage* m_previousMessage; | |
115 Vector<OwnPtr<ConsoleMessage> > m_consoleMessages; | 114 Vector<OwnPtr<ConsoleMessage> > m_consoleMessages; |
116 int m_expiredConsoleMessageCount; | 115 int m_expiredConsoleMessageCount; |
117 HashCountedSet<String> m_counts; | 116 HashCountedSet<String> m_counts; |
118 HashMap<String, double> m_times; | 117 HashMap<String, double> m_times; |
119 bool m_enabled; | 118 bool m_enabled; |
120 private: | 119 private: |
121 static int s_enabledAgentCount; | 120 static int s_enabledAgentCount; |
122 }; | 121 }; |
123 | 122 |
124 } // namespace WebCore | 123 } // namespace WebCore |
125 | 124 |
126 | 125 |
127 #endif // !defined(InspectorConsoleAgent_h) | 126 #endif // !defined(InspectorConsoleAgent_h) |
OLD | NEW |