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

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

Issue 1857713004: DevTools: simplify the async instrumentation harness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: same with scriptpromiseresolver Created 4 years, 8 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 public: 49 public:
50 static RawPtr<PageDebuggerAgent> create(InspectedFrames*, V8RuntimeAgent*); 50 static RawPtr<PageDebuggerAgent> create(InspectedFrames*, V8RuntimeAgent*);
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*); 58 void didStartProvisionalLoad(LocalFrame*);
59 void didClearDocumentOfWindowObject(LocalFrame*);
60 59
61 private: 60 private:
62 PageDebuggerAgent(InspectedFrames*, V8RuntimeAgent*); 61 PageDebuggerAgent(InspectedFrames*, V8RuntimeAgent*);
63 void muteConsole() override; 62 void muteConsole() override;
64 void unmuteConsole() override; 63 void unmuteConsole() override;
65 64
66 // V8DebuggerAgent::Client implemntation. 65 // V8DebuggerAgent::Client implemntation.
67 bool canExecuteScripts() const; 66 bool canExecuteScripts() const;
68 67
69 Member<InspectedFrames> m_inspectedFrames; 68 Member<InspectedFrames> m_inspectedFrames;
70 HashMap<String, String> m_compiledScriptURLs; 69 HashMap<String, String> m_compiledScriptURLs;
71 }; 70 };
72 71
73 } // namespace blink 72 } // namespace blink
74 73
75 74
76 #endif // !defined(PageDebuggerAgent_h) 75 #endif // !defined(PageDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698