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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 namespace WebCore { | 42 namespace WebCore { |
43 | 43 |
44 class InjectedScriptManager; | 44 class InjectedScriptManager; |
45 class InspectorConsoleAgent; | 45 class InspectorConsoleAgent; |
46 class InspectorFrontend; | 46 class InspectorFrontend; |
47 class InspectorState; | 47 class InspectorState; |
48 class InstrumentingAgents; | 48 class InstrumentingAgents; |
49 class Page; | 49 class Page; |
50 class ScriptCallStack; | 50 class ScriptCallStack; |
51 class ScriptProfile; | 51 class ScriptProfile; |
52 class WorkerContext; | 52 class WorkerGlobalScope; |
53 | 53 |
54 typedef String ErrorString; | 54 typedef String ErrorString; |
55 | 55 |
56 class InspectorProfilerAgent : public InspectorBaseAgent<InspectorProfilerAgent>
, public InspectorBackendDispatcher::ProfilerCommandHandler { | 56 class InspectorProfilerAgent : public InspectorBaseAgent<InspectorProfilerAgent>
, public InspectorBackendDispatcher::ProfilerCommandHandler { |
57 WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent); WTF_MAKE_FAST_ALLOCATED; | 57 WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent); WTF_MAKE_FAST_ALLOCATED; |
58 public: | 58 public: |
59 static PassOwnPtr<InspectorProfilerAgent> create(InstrumentingAgents*, Inspe
ctorConsoleAgent*, InspectorCompositeState*, InjectedScriptManager*); | 59 static PassOwnPtr<InspectorProfilerAgent> create(InstrumentingAgents*, Inspe
ctorConsoleAgent*, InspectorCompositeState*, InjectedScriptManager*); |
60 virtual ~InspectorProfilerAgent(); | 60 virtual ~InspectorProfilerAgent(); |
61 | 61 |
62 void addProfile(PassRefPtr<ScriptProfile> prpProfile, PassRefPtr<ScriptCallS
tack>); | 62 void addProfile(PassRefPtr<ScriptProfile> prpProfile, PassRefPtr<ScriptCallS
tack>); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 typedef HashMap<String, double> ProfileNameIdleTimeMap; | 108 typedef HashMap<String, double> ProfileNameIdleTimeMap; |
109 ProfileNameIdleTimeMap* m_profileNameIdleTimeMap; | 109 ProfileNameIdleTimeMap* m_profileNameIdleTimeMap; |
110 double m_previousTaskEndTime; | 110 double m_previousTaskEndTime; |
111 }; | 111 }; |
112 | 112 |
113 } // namespace WebCore | 113 } // namespace WebCore |
114 | 114 |
115 | 115 |
116 #endif // !defined(InspectorProfilerAgent_h) | 116 #endif // !defined(InspectorProfilerAgent_h) |
OLD | NEW |