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

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

Issue 306053010: Tried using CrossThreadPersistent for workerDebuggerAgents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class InspectorOverlay; 45 class InspectorOverlay;
46 class InstrumentingAgents; 46 class InstrumentingAgents;
47 class ScriptState; 47 class ScriptState;
48 class ScriptCallStack; 48 class ScriptCallStack;
49 class ScriptProfile; 49 class ScriptProfile;
50 50
51 51
52 typedef String ErrorString; 52 typedef String ErrorString;
53 53
54 class InspectorProfilerAgent FINAL : public InspectorBaseAgent<InspectorProfiler Agent>, public InspectorBackendDispatcher::ProfilerCommandHandler { 54 class InspectorProfilerAgent FINAL : public InspectorBaseAgent<InspectorProfiler Agent>, public InspectorBackendDispatcher::ProfilerCommandHandler {
55 WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent); WTF_MAKE_FAST_ALLOCATED; 55 WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent);
56 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
56 public: 57 public:
57 static PassOwnPtr<InspectorProfilerAgent> create(InjectedScriptManager*, Ins pectorOverlay*); 58 static PassOwnPtrWillBeRawPtr<InspectorProfilerAgent> create(InjectedScriptM anager*, InspectorOverlay*);
58 virtual ~InspectorProfilerAgent(); 59 virtual ~InspectorProfilerAgent();
59 60
60 void consoleProfile(const String& title, ScriptState*); 61 void consoleProfile(const String& title, ScriptState*);
61 void consoleProfileEnd(const String& title, ScriptState*); 62 void consoleProfileEnd(const String& title, ScriptState*);
62 63
63 virtual void enable(ErrorString*) OVERRIDE; 64 virtual void enable(ErrorString*) OVERRIDE;
64 virtual void disable(ErrorString*) OVERRIDE; 65 virtual void disable(ErrorString*) OVERRIDE;
65 virtual void setSamplingInterval(ErrorString*, int) OVERRIDE; 66 virtual void setSamplingInterval(ErrorString*, int) OVERRIDE;
66 virtual void start(ErrorString*) OVERRIDE; 67 virtual void start(ErrorString*) OVERRIDE;
67 virtual void stop(ErrorString*, RefPtr<TypeBuilder::Profiler::CPUProfile>&) OVERRIDE; 68 virtual void stop(ErrorString*, RefPtr<TypeBuilder::Profiler::CPUProfile>&) OVERRIDE;
(...skipping 27 matching lines...) Expand all
95 InspectorOverlay* m_overlay; 96 InspectorOverlay* m_overlay;
96 97
97 void idleStarted(); 98 void idleStarted();
98 void idleFinished(); 99 void idleFinished();
99 }; 100 };
100 101
101 } // namespace WebCore 102 } // namespace WebCore
102 103
103 104
104 #endif // !defined(InspectorProfilerAgent_h) 105 #endif // !defined(InspectorProfilerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/inspector/InspectorProfilerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698