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

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

Issue 2839683003: Server-Timing (Closed)
Patch Set: make those robots happy, attempt #4 Created 3 years, 7 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PerformanceServerTiming_h
6 #define PerformanceServerTiming_h
7
8 #include "core/timing/PerformanceEntry.h"
9
10 namespace blink {
11
12 class CORE_EXPORT PerformanceServerTiming : public PerformanceEntry {
13 DEFINE_WRAPPERTYPEINFO();
14
15 public:
16 ~PerformanceServerTiming() override;
17
18 static PerformanceServerTiming* create(const String& name,
19 const String& metric,
20 double duration,
21 const String& description) {
22 return new PerformanceServerTiming(name, metric, duration, description);
23 }
24
25 String metric() const;
26 String description() const;
27
28 protected:
29 void BuildJSONValue(V8ObjectBuilder&) const override;
30
31 private:
32 PerformanceServerTiming(const String& name,
33 const String& metric,
34 double duration,
35 const String& description);
36
37 const String m_metric;
Nico 2017/05/12 01:42:24 This file uses old blink style. Please name member
38 const String m_description;
39 };
40
41 } // namespace blink
42
43 #endif // PerformanceServerTiming_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698