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

Side by Side Diff: third_party/WebKit/Source/core/inspector/PageRuntimeAgent.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, 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 public: 44 public:
45 static PageRuntimeAgent* create(InspectorRuntimeAgent::Client* client, V8Run timeAgent* agent, InspectedFrames* inspectedFrames) 45 static PageRuntimeAgent* create(InspectorRuntimeAgent::Client* client, V8Run timeAgent* agent, InspectedFrames* inspectedFrames)
46 { 46 {
47 return new PageRuntimeAgent(client, agent, inspectedFrames); 47 return new PageRuntimeAgent(client, agent, inspectedFrames);
48 } 48 }
49 ~PageRuntimeAgent() override; 49 ~PageRuntimeAgent() override;
50 DECLARE_VIRTUAL_TRACE(); 50 DECLARE_VIRTUAL_TRACE();
51 void enable(ErrorString*) override; 51 void enable(ErrorString*) override;
52 void disable(ErrorString*) override; 52 void disable(ErrorString*) override;
53 53
54 void didClearDocumentOfWindowObject(LocalFrame*);
55
56 private: 54 private:
57 PageRuntimeAgent(Client*, V8RuntimeAgent*, InspectedFrames*); 55 PageRuntimeAgent(Client*, V8RuntimeAgent*, InspectedFrames*);
58 56
59 Member<InspectedFrames> m_inspectedFrames; 57 Member<InspectedFrames> m_inspectedFrames;
60 }; 58 };
61 59
62 } // namespace blink 60 } // namespace blink
63 61
64 62
65 #endif // !defined(InspectorPagerAgent_h) 63 #endif // !defined(InspectorPagerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698