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

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: 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 62
64 // V8DebuggerAgent::Client implemntation. 63 // V8DebuggerAgent::Client implemntation.
65 bool canExecuteScripts() const; 64 bool canExecuteScripts() const;
66 65
67 Member<InspectedFrames> m_inspectedFrames; 66 Member<InspectedFrames> m_inspectedFrames;
68 HashMap<String, String> m_compiledScriptURLs; 67 HashMap<String, String> m_compiledScriptURLs;
69 }; 68 };
70 69
71 } // namespace blink 70 } // namespace blink
72 71
73 72
74 #endif // !defined(PageDebuggerAgent_h) 73 #endif // !defined(PageDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698