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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class PerformanceTiming; 53 class PerformanceTiming;
54 class ResourceResponse; 54 class ResourceResponse;
55 class ResourceTimingInfo; 55 class ResourceTimingInfo;
56 class SecurityOrigin; 56 class SecurityOrigin;
57 class UserTiming; 57 class UserTiming;
58 58
59 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>; 59 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>;
60 using PerformanceObservers = HeapListHashSet<Member<PerformanceObserver>>; 60 using PerformanceObservers = HeapListHashSet<Member<PerformanceObserver>>;
61 61
62 class CORE_EXPORT PerformanceBase : public EventTargetWithInlineData { 62 class CORE_EXPORT PerformanceBase : public EventTargetWithInlineData {
63
64 public: 63 public:
65 ~PerformanceBase() override; 64 ~PerformanceBase() override;
66 65
67 const AtomicString& InterfaceName() const override; 66 const AtomicString& InterfaceName() const override;
68 67
69 virtual PerformanceTiming* timing() const; 68 virtual PerformanceTiming* timing() const;
70 69
71 virtual void UpdateLongTaskInstrumentation() {} 70 virtual void UpdateLongTaskInstrumentation() {}
72 71
73 // Reduce the resolution to 5µs to prevent timing attacks. See: 72 // Reduce the resolution to 5µs to prevent timing attacks. See:
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 PerformanceEntryTypeMask observer_filter_options_; 189 PerformanceEntryTypeMask observer_filter_options_;
191 PerformanceObservers observers_; 190 PerformanceObservers observers_;
192 PerformanceObservers active_observers_; 191 PerformanceObservers active_observers_;
193 PerformanceObservers suspended_observers_; 192 PerformanceObservers suspended_observers_;
194 TaskRunnerTimer<PerformanceBase> deliver_observations_timer_; 193 TaskRunnerTimer<PerformanceBase> deliver_observations_timer_;
195 }; 194 };
196 195
197 } // namespace blink 196 } // namespace blink
198 197
199 #endif // PerformanceBase_h 198 #endif // PerformanceBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698