OLD | NEW |
(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_ |
OLD | NEW |