| OLD | NEW |
| 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 #include "content/browser/histogram_internals_request_job.h" | 5 #include "content/browser/histogram_internals_request_job.h" |
| 6 | 6 |
| 7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram_macros.h" |
| 8 #include "base/metrics/statistics_recorder.h" | 8 #include "base/metrics/statistics_recorder.h" |
| 9 #include "content/browser/histogram_synchronizer.h" | 9 #include "content/browser/histogram_synchronizer.h" |
| 10 #include "net/base/escape.h" | 10 #include "net/base/escape.h" |
| 11 #include "net/base/net_errors.h" | 11 #include "net/base/net_errors.h" |
| 12 #include "net/url_request/url_request.h" | 12 #include "net/url_request/url_request.h" |
| 13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 | 16 |
| 17 HistogramInternalsRequestJob::HistogramInternalsRequestJob( | 17 HistogramInternalsRequestJob::HistogramInternalsRequestJob( |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 const net::CompletionCallback& callback) const { | 61 const net::CompletionCallback& callback) const { |
| 62 mime_type->assign("text/html"); | 62 mime_type->assign("text/html"); |
| 63 charset->assign("UTF8"); | 63 charset->assign("UTF8"); |
| 64 | 64 |
| 65 data->clear(); | 65 data->clear(); |
| 66 AboutHistogram(data, path_); | 66 AboutHistogram(data, path_); |
| 67 return net::OK; | 67 return net::OK; |
| 68 } | 68 } |
| 69 | 69 |
| 70 } // namespace content | 70 } // namespace content |
| OLD | NEW |