| 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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 #include "bindings/v8/ScriptWrappable.h" | 35 #include "bindings/v8/ScriptWrappable.h" |
| 36 #include "heap/Handle.h" | 36 #include "heap/Handle.h" |
| 37 #include "wtf/PassRefPtr.h" | 37 #include "wtf/PassRefPtr.h" |
| 38 #include "wtf/RefCounted.h" | 38 #include "wtf/RefCounted.h" |
| 39 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
| 40 | 40 |
| 41 namespace WebCore { | 41 namespace WebCore { |
| 42 | 42 |
| 43 class PerformanceEntry : public RefCountedWillBeGarbageCollectedFinalized<Perfor
manceEntry>, public ScriptWrappable { | 43 class PerformanceEntry : public RefCountedWillBeGarbageCollectedFinalized<Perfor
manceEntry>, public ScriptWrappable { |
| 44 DECLARE_GC_INFO; | |
| 45 public: | 44 public: |
| 46 virtual ~PerformanceEntry(); | 45 virtual ~PerformanceEntry(); |
| 47 | 46 |
| 48 String name() const; | 47 String name() const; |
| 49 String entryType() const; | 48 String entryType() const; |
| 50 double startTime() const; | 49 double startTime() const; |
| 51 double duration() const; | 50 double duration() const; |
| 52 | 51 |
| 53 virtual bool isResource() { return false; } | 52 virtual bool isResource() { return false; } |
| 54 virtual bool isMark() { return false; } | 53 virtual bool isMark() { return false; } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 67 private: | 66 private: |
| 68 const String m_name; | 67 const String m_name; |
| 69 const String m_entryType; | 68 const String m_entryType; |
| 70 const double m_startTime; | 69 const double m_startTime; |
| 71 const double m_duration; | 70 const double m_duration; |
| 72 }; | 71 }; |
| 73 | 72 |
| 74 } | 73 } |
| 75 | 74 |
| 76 #endif // !defined(PerformanceEntry_h) | 75 #endif // !defined(PerformanceEntry_h) |
| OLD | NEW |