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

Side by Side Diff: chrome/browser/mod_pagespeed/mod_pagespeed_metrics.h

Issue 1051463003: Move mod_pagespeed metrics out of prerender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky comments Created 5 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/mod_pagespeed/mod_pagespeed_metrics.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_MOD_PAGESPEED_MOD_PAGESPEED_METRICS_H_
6 #define CHROME_BROWSER_MOD_PAGESPEED_MOD_PAGESPEED_METRICS_H_
7
8 #include "content/public/common/resource_type.h"
9
10 class GURL;
11
12 namespace net {
13 class HttpResponseHeaders;
14 }
15
16 namespace mod_pagespeed {
17
18 // Records metrics about mod_pagespeed headers.
19 //
20 // See
21 // https://developers.google.com/speed/pagespeed/module/configuration#XHeaderVal ue
22 void RecordMetrics(const content::ResourceType resource_type,
23 const GURL& request_url,
24 const net::HttpResponseHeaders* response_headers);
25
26 } // namespace mod_pagespeed
27
28 #endif // CHROME_BROWSER_MOD_PAGESPEED_MOD_PAGESPEED_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/mod_pagespeed/mod_pagespeed_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698