Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 55 virtual ~PerformanceEntry(); | 55 virtual ~PerformanceEntry(); |
| 56 | 56 |
| 57 enum EntryType { | 57 enum EntryType { |
| 58 Invalid = 0, | 58 Invalid = 0, |
| 59 Composite = 1 << 1, | 59 Composite = 1 << 1, |
| 60 Mark = 1 << 2, | 60 Mark = 1 << 2, |
| 61 Measure = 1 << 3, | 61 Measure = 1 << 3, |
| 62 Render = 1 << 4, | 62 Render = 1 << 4, |
| 63 Resource = 1 << 5, | 63 Resource = 1 << 5, |
| 64 LongTask = 1 << 6, | 64 LongTask = 1 << 6, |
| 65 Navigation = 1 << 7, | |
|
Kunihiko Sakamoto
2016/11/07 07:53:18
It looks like the bit 1 is unused.
Can you insert
sunjian
2016/11/08 02:10:19
Done.
| |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 String name() const; | 68 String name() const; |
| 68 String entryType() const; | 69 String entryType() const; |
| 69 double startTime() const; | 70 double startTime() const; |
| 70 double duration() const; | 71 double duration() const; |
| 71 | 72 |
| 72 ScriptValue toJSONForBinding(ScriptState*) const; | 73 ScriptValue toJSONForBinding(ScriptState*) const; |
| 73 | 74 |
| 74 PerformanceEntryType entryTypeEnum() const { return m_entryTypeEnum; } | 75 PerformanceEntryType entryTypeEnum() const { return m_entryTypeEnum; } |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 99 const String m_name; | 100 const String m_name; |
| 100 const String m_entryType; | 101 const String m_entryType; |
| 101 const double m_startTime; | 102 const double m_startTime; |
| 102 const double m_duration; | 103 const double m_duration; |
| 103 const PerformanceEntryType m_entryTypeEnum; | 104 const PerformanceEntryType m_entryTypeEnum; |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 } // namespace blink | 107 } // namespace blink |
| 107 | 108 |
| 108 #endif // PerformanceEntry_h | 109 #endif // PerformanceEntry_h |
| OLD | NEW |