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

Side by Side Diff: chrome/renderer/page_load_metrics/metrics_render_frame_observer.h

Issue 2177743002: Migrate page_load_metrics out of components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: migrate page_load_metrics_messages to common message generator 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PAGE_LOAD_METRICS_RENDERER_PAGE_LOAD_METRICS_RENDER_FRAME_OBS ERVER_H_ 5 #ifndef CHROME_RENDERER_PAGE_LOAD_METRICS_METRICS_RENDER_FRAME_OBSERVER_H_
6 #define COMPONENTS_PAGE_LOAD_METRICS_RENDERER_PAGE_LOAD_METRICS_RENDER_FRAME_OBS ERVER_H_ 6 #define CHROME_RENDERER_PAGE_LOAD_METRICS_METRICS_RENDER_FRAME_OBSERVER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/page_load_metrics/common/page_load_timing.h" 11 #include "chrome/common/page_load_metrics/page_load_timing.h"
12 #include "content/public/renderer/render_frame_observer.h" 12 #include "content/public/renderer/render_frame_observer.h"
13 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" 13 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h"
14 14
15 namespace base { 15 namespace base {
16 class Timer; 16 class Timer;
17 } // namespace base 17 } // namespace base
18 18
19 namespace page_load_metrics { 19 namespace page_load_metrics {
20 20
21 class PageTimingMetricsSender; 21 class PageTimingMetricsSender;
(...skipping 21 matching lines...) Expand all
43 virtual bool ShouldSendMetrics() const; 43 virtual bool ShouldSendMetrics() const;
44 virtual PageLoadTiming GetTiming() const; 44 virtual PageLoadTiming GetTiming() const;
45 virtual std::unique_ptr<base::Timer> CreateTimer() const; 45 virtual std::unique_ptr<base::Timer> CreateTimer() const;
46 virtual bool HasNoRenderFrame() const; 46 virtual bool HasNoRenderFrame() const;
47 47
48 DISALLOW_COPY_AND_ASSIGN(MetricsRenderFrameObserver); 48 DISALLOW_COPY_AND_ASSIGN(MetricsRenderFrameObserver);
49 }; 49 };
50 50
51 } // namespace page_load_metrics 51 } // namespace page_load_metrics
52 52
53 #endif // COMPONENTS_PAGE_LOAD_METRICS_RENDERER_PAGE_LOAD_METRICS_RENDER_FRAME_ OBSERVER_H_ 53 #endif // CHROME_RENDERER_PAGE_LOAD_METRICS_METRICS_RENDER_FRAME_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698