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

Side by Side Diff: Source/core/inspector/InspectorTimelineAgent.h

Issue 108103002: DevTools: Remove unneeded willReceiveResourceData instrumentation and reuse didReceiveData instead … (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 void consoleTime(ExecutionContext*, const String&); 208 void consoleTime(ExecutionContext*, const String&);
209 void consoleTimeEnd(ExecutionContext*, const String&, ScriptState*); 209 void consoleTimeEnd(ExecutionContext*, const String&, ScriptState*);
210 void consoleTimeline(ExecutionContext*, const String& title, ScriptState*); 210 void consoleTimeline(ExecutionContext*, const String& title, ScriptState*);
211 void consoleTimelineEnd(ExecutionContext*, const String& title, ScriptState* ); 211 void consoleTimelineEnd(ExecutionContext*, const String& title, ScriptState* );
212 212
213 void didScheduleResourceRequest(Document*, const String& url); 213 void didScheduleResourceRequest(Document*, const String& url);
214 void willSendRequest(unsigned long, DocumentLoader*, const ResourceRequest&, const ResourceResponse&, const FetchInitiatorInfo&); 214 void willSendRequest(unsigned long, DocumentLoader*, const ResourceRequest&, const ResourceResponse&, const FetchInitiatorInfo&);
215 void didReceiveResourceResponse(LocalFrame*, unsigned long, DocumentLoader*, const ResourceResponse&, ResourceLoader*); 215 void didReceiveResourceResponse(LocalFrame*, unsigned long, DocumentLoader*, const ResourceResponse&, ResourceLoader*);
216 void didFinishLoading(unsigned long, DocumentLoader*, double monotonicFinish Time, int64_t); 216 void didFinishLoading(unsigned long, DocumentLoader*, double monotonicFinish Time, int64_t);
217 void didFailLoading(unsigned long identifier, const ResourceError&); 217 void didFailLoading(unsigned long identifier, const ResourceError&);
218 bool willReceiveResourceData(LocalFrame*, unsigned long identifier, int leng th); 218 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength);
219 void didReceiveResourceData();
220 219
221 void didRequestAnimationFrame(Document*, int callbackId); 220 void didRequestAnimationFrame(Document*, int callbackId);
222 void didCancelAnimationFrame(Document*, int callbackId); 221 void didCancelAnimationFrame(Document*, int callbackId);
223 bool willFireAnimationFrame(Document*, int callbackId); 222 bool willFireAnimationFrame(Document*, int callbackId);
224 void didFireAnimationFrame(); 223 void didFireAnimationFrame();
225 224
226 void willProcessTask(); 225 void willProcessTask();
227 void didProcessTask(); 226 void didProcessTask();
228 227
229 void didCreateWebSocket(Document*, unsigned long identifier, const KURL&, co nst String& protocol); 228 void didCreateWebSocket(Document*, unsigned long identifier, const KURL&, co nst String& protocol);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 RefPtr<JSONObject> m_gpuTask; 334 RefPtr<JSONObject> m_gpuTask;
336 unsigned m_styleRecalcElementCounter; 335 unsigned m_styleRecalcElementCounter;
337 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; 336 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap;
338 ThreadStateMap m_threadStates; 337 ThreadStateMap m_threadStates;
339 bool m_mayEmitFirstPaint; 338 bool m_mayEmitFirstPaint;
340 }; 339 };
341 340
342 } // namespace WebCore 341 } // namespace WebCore
343 342
344 #endif // !defined(InspectorTimelineAgent_h) 343 #endif // !defined(InspectorTimelineAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/inspector/InspectorTimelineAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698