OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_ |
| 6 #define CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/basictypes.h" |
| 11 #include "net/url_request/url_request_simple_job.h" |
| 12 |
| 13 namespace content { |
| 14 |
| 15 class HistogramInternalsRequestJob : public net::URLRequestSimpleJob { |
| 16 public: |
| 17 explicit HistogramInternalsRequestJob(net::URLRequest* request); |
| 18 |
| 19 virtual bool GetData(std::string* mime_type, |
| 20 std::string* charset, |
| 21 std::string* data) const OVERRIDE; |
| 22 |
| 23 private: |
| 24 virtual ~HistogramInternalsRequestJob() {} |
| 25 |
| 26 // The string to select histograms which have |path_| as a substring. |
| 27 std::string path_; |
| 28 |
| 29 DISALLOW_IMPLICIT_CONSTRUCTORS(HistogramInternalsRequestJob); |
| 30 }; |
| 31 |
| 32 } // namespace content |
| 33 |
| 34 #endif // CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_ |
OLD | NEW |