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

Side by Side Diff: Source/core/timing/PerformanceTiming.h

Issue 634833002: Replacing the OVERRIDE with override and FINAL with final in WebKit/Source/core/timing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/timing/PerformanceResourceTiming.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 27 matching lines...) Expand all
38 #include "wtf/RefCounted.h" 38 #include "wtf/RefCounted.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class DocumentLoadTiming; 42 class DocumentLoadTiming;
43 class DocumentLoader; 43 class DocumentLoader;
44 struct DocumentTiming; 44 struct DocumentTiming;
45 class LocalFrame; 45 class LocalFrame;
46 class ResourceLoadTiming; 46 class ResourceLoadTiming;
47 47
48 class PerformanceTiming FINAL : public RefCountedWillBeGarbageCollected<Performa nceTiming>, public ScriptWrappable, public DOMWindowProperty { 48 class PerformanceTiming final : public RefCountedWillBeGarbageCollected<Performa nceTiming>, public ScriptWrappable, public DOMWindowProperty {
49 DEFINE_WRAPPERTYPEINFO(); 49 DEFINE_WRAPPERTYPEINFO();
50 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PerformanceTiming); 50 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PerformanceTiming);
51 public: 51 public:
52 static PassRefPtrWillBeRawPtr<PerformanceTiming> create(LocalFrame* frame) 52 static PassRefPtrWillBeRawPtr<PerformanceTiming> create(LocalFrame* frame)
53 { 53 {
54 return adoptRefWillBeNoop(new PerformanceTiming(frame)); 54 return adoptRefWillBeNoop(new PerformanceTiming(frame));
55 } 55 }
56 56
57 unsigned long long navigationStart() const; 57 unsigned long long navigationStart() const;
58 unsigned long long unloadEventStart() const; 58 unsigned long long unloadEventStart() const;
(...skipping 10 matching lines...) Expand all
69 unsigned long long responseStart() const; 69 unsigned long long responseStart() const;
70 unsigned long long responseEnd() const; 70 unsigned long long responseEnd() const;
71 unsigned long long domLoading() const; 71 unsigned long long domLoading() const;
72 unsigned long long domInteractive() const; 72 unsigned long long domInteractive() const;
73 unsigned long long domContentLoadedEventStart() const; 73 unsigned long long domContentLoadedEventStart() const;
74 unsigned long long domContentLoadedEventEnd() const; 74 unsigned long long domContentLoadedEventEnd() const;
75 unsigned long long domComplete() const; 75 unsigned long long domComplete() const;
76 unsigned long long loadEventStart() const; 76 unsigned long long loadEventStart() const;
77 unsigned long long loadEventEnd() const; 77 unsigned long long loadEventEnd() const;
78 78
79 virtual void trace(Visitor*) OVERRIDE; 79 virtual void trace(Visitor*) override;
80 80
81 private: 81 private:
82 explicit PerformanceTiming(LocalFrame*); 82 explicit PerformanceTiming(LocalFrame*);
83 83
84 const DocumentTiming* documentTiming() const; 84 const DocumentTiming* documentTiming() const;
85 DocumentLoader* documentLoader() const; 85 DocumentLoader* documentLoader() const;
86 DocumentLoadTiming* documentLoadTiming() const; 86 DocumentLoadTiming* documentLoadTiming() const;
87 ResourceLoadTiming* resourceLoadTiming() const; 87 ResourceLoadTiming* resourceLoadTiming() const;
88 88
89 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; 89 unsigned long long monotonicTimeToIntegerMilliseconds(double) const;
90 }; 90 };
91 91
92 } // namespace blink 92 } // namespace blink
93 93
94 #endif // PerformanceTiming_h 94 #endif // PerformanceTiming_h
OLDNEW
« no previous file with comments | « Source/core/timing/PerformanceResourceTiming.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698