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

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceEntry.h

Issue 2610063006: Create TaskAttributionTiming PerformanceEntry for attribution in PerformanceLongTaskTiming. Move cu… (Closed)
Patch Set: update layout test expectation Created 3 years, 11 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 enum EntryType { 57 enum EntryType {
58 Invalid = 0, 58 Invalid = 0,
59 Navigation = 1 << 0, 59 Navigation = 1 << 0,
60 Composite = 1 << 1, 60 Composite = 1 << 1,
61 Mark = 1 << 2, 61 Mark = 1 << 2,
62 Measure = 1 << 3, 62 Measure = 1 << 3,
63 Render = 1 << 4, 63 Render = 1 << 4,
64 Resource = 1 << 5, 64 Resource = 1 << 5,
65 LongTask = 1 << 6, 65 LongTask = 1 << 6,
66 TaskAttribution = 1 << 7,
66 }; 67 };
67 68
68 String name() const; 69 String name() const;
69 String entryType() const; 70 String entryType() const;
70 double startTime() const; 71 double startTime() const;
71 double duration() const; 72 double duration() const;
72 73
73 ScriptValue toJSONForBinding(ScriptState*) const; 74 ScriptValue toJSONForBinding(ScriptState*) const;
74 75
75 PerformanceEntryType entryTypeEnum() const { return m_entryTypeEnum; } 76 PerformanceEntryType entryTypeEnum() const { return m_entryTypeEnum; }
(...skipping 24 matching lines...) Expand all
100 const String m_name; 101 const String m_name;
101 const String m_entryType; 102 const String m_entryType;
102 const double m_startTime; 103 const double m_startTime;
103 const double m_duration; 104 const double m_duration;
104 const PerformanceEntryType m_entryTypeEnum; 105 const PerformanceEntryType m_entryTypeEnum;
105 }; 106 };
106 107
107 } // namespace blink 108 } // namespace blink
108 109
109 #endif // PerformanceEntry_h 110 #endif // PerformanceEntry_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698