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

Side by Side Diff: chrome/renderer/page_load_histograms.h

Issue 688403002: Add HTTPS specific UMA for data reduction proxy requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@plumb_proxy_server
Patch Set: Created 6 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ 5 #ifndef CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_
6 #define CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ 6 #define CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h"
9 #include "content/public/renderer/render_view_observer.h" 10 #include "content/public/renderer/render_view_observer.h"
10 11
11 namespace content { 12 namespace content {
12 class DocumentState; 13 class DocumentState;
13 } 14 }
14 15
15 class PageLoadHistograms : public content::RenderViewObserver { 16 class PageLoadHistograms : public content::RenderViewObserver {
16 public: 17 public:
17 explicit PageLoadHistograms(content::RenderView* render_view); 18 explicit PageLoadHistograms(content::RenderView* render_view);
18 19
(...skipping 19 matching lines...) Expand all
38 // 39 //
39 // It's possible for the request time not to be set, if a client 40 // It's possible for the request time not to be set, if a client
40 // redirect had been done (the user never requested the page) 41 // redirect had been done (the user never requested the page)
41 // Also, it's possible to load a page without ever laying it out 42 // Also, it's possible to load a page without ever laying it out
42 // so first_paint and first_paint_after_load can be 0. 43 // so first_paint and first_paint_after_load can be 0.
43 void Dump(blink::WebFrame* frame); 44 void Dump(blink::WebFrame* frame);
44 45
45 void LogPageLoadTime(const content::DocumentState* load_times, 46 void LogPageLoadTime(const content::DocumentState* load_times,
46 const blink::WebDataSource* ds) const; 47 const blink::WebDataSource* ds) const;
47 48
49 data_reduction_proxy::DataReductionProxyParams data_reduction_proxy_params_;
50
48 DISALLOW_COPY_AND_ASSIGN(PageLoadHistograms); 51 DISALLOW_COPY_AND_ASSIGN(PageLoadHistograms);
49 }; 52 };
50 53
51 #endif // CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ 54 #endif // CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/page_load_histograms.cc » ('j') | chrome/renderer/page_load_histograms.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698