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

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

Issue 2238883005: POC for InspectorInstrumentation adding InspectorWebPerfAgent Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add task observer to WebPerfAgent Created 4 years, 4 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 { 49 {
50 return new Performance(frame); 50 return new Performance(frame);
51 } 51 }
52 ~Performance() override; 52 ~Performance() override;
53 53
54 ExecutionContext* getExecutionContext() const override; 54 ExecutionContext* getExecutionContext() const override;
55 55
56 MemoryInfo* memory(); 56 MemoryInfo* memory();
57 PerformanceNavigation* navigation() const; 57 PerformanceNavigation* navigation() const;
58 PerformanceTiming* timing() const override; 58 PerformanceTiming* timing() const override;
59 void enableInspectorInstrumentation() const override;
59 60
60 DECLARE_VIRTUAL_TRACE(); 61 DECLARE_VIRTUAL_TRACE();
61 62
62 private: 63 private:
63 explicit Performance(LocalFrame*); 64 explicit Performance(LocalFrame*);
64 65
65 mutable Member<PerformanceNavigation> m_navigation; 66 mutable Member<PerformanceNavigation> m_navigation;
66 mutable Member<PerformanceTiming> m_timing; 67 mutable Member<PerformanceTiming> m_timing;
67 }; 68 };
68 69
69 } // namespace blink 70 } // namespace blink
70 71
71 #endif // Performance_h 72 #endif // Performance_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698