| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 bool enabled(); | 69 bool enabled(); |
| 70 String getCurrentUserInitiatedProfileName(bool incrementProfileNumber = fals
e); | 70 String getCurrentUserInitiatedProfileName(bool incrementProfileNumber = fals
e); |
| 71 virtual void getCPUProfile(ErrorString*, int uid, RefPtr<TypeBuilder::Profil
er::CPUProfile>&); | 71 virtual void getCPUProfile(ErrorString*, int uid, RefPtr<TypeBuilder::Profil
er::CPUProfile>&); |
| 72 virtual void removeProfile(ErrorString*, const String& type, int uid); | 72 virtual void removeProfile(ErrorString*, const String& type, int uid); |
| 73 | 73 |
| 74 virtual void setFrontend(InspectorFrontend*); | 74 virtual void setFrontend(InspectorFrontend*); |
| 75 virtual void clearFrontend(); | 75 virtual void clearFrontend(); |
| 76 virtual void restore(); | 76 virtual void restore(); |
| 77 | 77 |
| 78 void toggleRecordButton(bool isProfiling); | |
| 79 | |
| 80 void willProcessTask(); | 78 void willProcessTask(); |
| 81 void didProcessTask(); | 79 void didProcessTask(); |
| 82 void willEnterNestedRunLoop(); | 80 void willEnterNestedRunLoop(); |
| 83 void didLeaveNestedRunLoop(); | 81 void didLeaveNestedRunLoop(); |
| 84 | 82 |
| 85 private: | 83 private: |
| 86 InspectorProfilerAgent(InstrumentingAgents*, InspectorConsoleAgent*, Inspect
orCompositeState*, InjectedScriptManager*, InspectorOverlay*); | 84 InspectorProfilerAgent(InstrumentingAgents*, InspectorConsoleAgent*, Inspect
orCompositeState*, InjectedScriptManager*, InspectorOverlay*); |
| 87 | 85 |
| 88 void doEnable(); | 86 void doEnable(); |
| 89 | 87 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 109 InspectorOverlay* m_overlay; | 107 InspectorOverlay* m_overlay; |
| 110 | 108 |
| 111 void idleStarted(); | 109 void idleStarted(); |
| 112 void idleFinished(); | 110 void idleFinished(); |
| 113 }; | 111 }; |
| 114 | 112 |
| 115 } // namespace WebCore | 113 } // namespace WebCore |
| 116 | 114 |
| 117 | 115 |
| 118 #endif // !defined(InspectorProfilerAgent_h) | 116 #endif // !defined(InspectorProfilerAgent_h) |
| OLD | NEW |