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

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

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 class XHRReplayData; 60 class XHRReplayData;
61 class XMLHttpRequest; 61 class XMLHttpRequest;
62 62
63 class WebSocketHandshakeRequest; 63 class WebSocketHandshakeRequest;
64 class WebSocketHandshakeResponse; 64 class WebSocketHandshakeResponse;
65 65
66 namespace protocol { 66 namespace protocol {
67 class DictionaryValue; 67 class DictionaryValue;
68 } 68 }
69 69
70 class CORE_EXPORT InspectorResourceAgent final : public InspectorBaseAgent<Inspe ctorResourceAgent, protocol::Network::Frontend>, public protocol::Network::Backe nd { 70 class CORE_EXPORT InspectorResourceAgent final : public InspectorBaseAgent<proto col::Network::Metainfo> {
71 public: 71 public:
72 static InspectorResourceAgent* create(InspectedFrames* inspectedFrames) 72 static InspectorResourceAgent* create(InspectedFrames* inspectedFrames)
73 { 73 {
74 return new InspectorResourceAgent(inspectedFrames); 74 return new InspectorResourceAgent(inspectedFrames);
75 } 75 }
76 76
77 void restore() override; 77 void restore() override;
78 78
79 ~InspectorResourceAgent() override; 79 ~InspectorResourceAgent() override;
80 DECLARE_VIRTUAL_TRACE(); 80 DECLARE_VIRTUAL_TRACE();
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; 190 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs;
191 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; 191 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted;
192 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer; 192 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer;
193 }; 193 };
194 194
195 } // namespace blink 195 } // namespace blink
196 196
197 197
198 #endif // !defined(InspectorResourceAgent_h) 198 #endif // !defined(InspectorResourceAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698