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

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

Issue 2648083002: Migrate Timer to TaskRunnerTimer in InspectorNetworkAgent (Closed)
Patch Set: change to UnspecedLoading Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef InspectorNetworkAgent_h 31 #ifndef InspectorNetworkAgent_h
32 #define InspectorNetworkAgent_h 32 #define InspectorNetworkAgent_h
33 33
34 #include "bindings/core/v8/ScriptString.h" 34 #include "bindings/core/v8/ScriptString.h"
35 #include "core/CoreExport.h" 35 #include "core/CoreExport.h"
36 #include "core/inspector/InspectorBaseAgent.h" 36 #include "core/inspector/InspectorBaseAgent.h"
37 #include "core/inspector/InspectorPageAgent.h" 37 #include "core/inspector/InspectorPageAgent.h"
38 #include "core/inspector/protocol/Network.h" 38 #include "core/inspector/protocol/Network.h"
39 #include "platform/Timer.h"
40 #include "platform/heap/Handle.h" 39 #include "platform/heap/Handle.h"
41 #include "wtf/text/WTFString.h" 40 #include "wtf/text/WTFString.h"
42 41
43 namespace blink { 42 namespace blink {
44 43
45 class Document; 44 class Document;
46 class DocumentLoader; 45 class DocumentLoader;
47 class EncodedFormData; 46 class EncodedFormData;
48 class ExecutionContext; 47 class ExecutionContext;
49 struct FetchInitiatorInfo; 48 struct FetchInitiatorInfo;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 typedef HashMap<String, std::unique_ptr<protocol::Network::Initiator>> 272 typedef HashMap<String, std::unique_ptr<protocol::Network::Initiator>>
274 FrameNavigationInitiatorMap; 273 FrameNavigationInitiatorMap;
275 FrameNavigationInitiatorMap m_frameNavigationInitiatorMap; 274 FrameNavigationInitiatorMap m_frameNavigationInitiatorMap;
276 275
277 // FIXME: InspectorNetworkAgent should now be aware of style recalculation. 276 // FIXME: InspectorNetworkAgent should now be aware of style recalculation.
278 std::unique_ptr<protocol::Network::Initiator> m_styleRecalculationInitiator; 277 std::unique_ptr<protocol::Network::Initiator> m_styleRecalculationInitiator;
279 bool m_isRecalculatingStyle; 278 bool m_isRecalculatingStyle;
280 279
281 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; 280 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs;
282 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; 281 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted;
283 Timer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; 282 TaskRunnerTimer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer;
284 }; 283 };
285 284
286 } // namespace blink 285 } // namespace blink
287 286
288 #endif // !defined(InspectorNetworkAgent_h) 287 #endif // !defined(InspectorNetworkAgent_h)
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698