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

Side by Side Diff: Source/core/inspector/TimelineRecordFactory.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "core/inspector/TimelineRecordFactory.h" 32 #include "core/inspector/TimelineRecordFactory.h"
33 33
34 #include "bindings/v8/ScriptCallStackFactory.h" 34 #include "bindings/v8/ScriptCallStackFactory.h"
35 #include "core/events/Event.h" 35 #include "core/events/Event.h"
36 #include "core/inspector/ScriptCallStack.h" 36 #include "core/inspector/ScriptCallStack.h"
37 #include "platform/JSONValues.h"
38 #include "platform/geometry/FloatQuad.h" 37 #include "platform/geometry/FloatQuad.h"
39 #include "platform/geometry/LayoutRect.h" 38 #include "platform/geometry/LayoutRect.h"
40 #include "platform/network/ResourceRequest.h" 39 #include "platform/network/ResourceRequest.h"
41 #include "platform/network/ResourceResponse.h" 40 #include "platform/network/ResourceResponse.h"
42 #include "wtf/CurrentTime.h" 41 #include "wtf/CurrentTime.h"
43 42
44 namespace WebCore { 43 namespace WebCore {
45 44
46 PassRefPtr<JSONObject> TimelineRecordFactory::createGenericRecord(double startTi me, int maxCallStackDepth, const String& type) 45 PassRefPtr<JSONObject> TimelineRecordFactory::createGenericRecord(double startTi me, int maxCallStackDepth, const String& type)
47 { 46 {
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 void TimelineRecordFactory::appendImageDetails(JSONObject* data, long long image ElementId, const String& url) 285 void TimelineRecordFactory::appendImageDetails(JSONObject* data, long long image ElementId, const String& url)
287 { 286 {
288 if (imageElementId) 287 if (imageElementId)
289 data->setNumber("elementId", imageElementId); 288 data->setNumber("elementId", imageElementId);
290 if (!url.isEmpty()) 289 if (!url.isEmpty())
291 data->setString("url", url); 290 data->setString("url", url);
292 } 291 }
293 292
294 } // namespace WebCore 293 } // namespace WebCore
295 294
OLDNEW
« no previous file with comments | « Source/core/inspector/ScriptCallStack.cpp ('k') | Source/core/inspector/TimelineTraceEventProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698