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

Side by Side Diff: third_party/WebKit/Source/core/inspector/PageDebuggerAgent.h

Issue 1907663005: [DevTools] Move v8-related instrumentation from agents to InspectorSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1889533002
Patch Set: profiler agent restore starts instrumenting Created 4 years, 7 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
OLDNEW
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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); 48 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent);
49 public: 49 public:
50 static PageDebuggerAgent* create(V8DebuggerAgent*, InspectedFrames*); 50 static PageDebuggerAgent* create(V8DebuggerAgent*, InspectedFrames*);
51 ~PageDebuggerAgent() override; 51 ~PageDebuggerAgent() override;
52 DECLARE_VIRTUAL_TRACE(); 52 DECLARE_VIRTUAL_TRACE();
53 53
54 void enable(ErrorString*) final; 54 void enable(ErrorString*) final;
55 void disable(ErrorString*) final; 55 void disable(ErrorString*) final;
56 void restore() final; 56 void restore() final;
57 57
58 void didStartProvisionalLoad(LocalFrame*);
59
60 private: 58 private:
61 PageDebuggerAgent(V8DebuggerAgent*, InspectedFrames*); 59 PageDebuggerAgent(V8DebuggerAgent*, InspectedFrames*);
62 60
63 // V8DebuggerAgent::Client implemntation. 61 // V8DebuggerAgent::Client implemntation.
64 bool canExecuteScripts() const; 62 bool canExecuteScripts() const;
65 63
66 Member<InspectedFrames> m_inspectedFrames; 64 Member<InspectedFrames> m_inspectedFrames;
67 HashMap<String, String> m_compiledScriptURLs; 65 HashMap<String, String> m_compiledScriptURLs;
68 }; 66 };
69 67
70 } // namespace blink 68 } // namespace blink
71 69
72 70
73 #endif // !defined(PageDebuggerAgent_h) 71 #endif // !defined(PageDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698