| Index: content/browser/histogram_internals_request_job.h
|
| diff --git a/content/browser/histogram_internals_request_job.h b/content/browser/histogram_internals_request_job.h
|
| index 63ce622e405a9a80bd4a61523d2ccd64d19aecde..475188d7c3afa5609f50cf39dfc4f4118723bd9c 100644
|
| --- a/content/browser/histogram_internals_request_job.h
|
| +++ b/content/browser/histogram_internals_request_job.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "net/url_request/url_request_simple_job.h"
|
|
|
| namespace content {
|
| @@ -17,17 +18,24 @@ class HistogramInternalsRequestJob : public net::URLRequestSimpleJob {
|
| HistogramInternalsRequestJob(net::URLRequest* request,
|
| net::NetworkDelegate* network_delegate);
|
|
|
| + // net::URLRequestSimpleJob:
|
| + void Start() override;
|
| int GetData(std::string* mime_type,
|
| std::string* charset,
|
| std::string* data,
|
| const net::CompletionCallback& callback) const override;
|
|
|
| private:
|
| - ~HistogramInternalsRequestJob() override {}
|
| + ~HistogramInternalsRequestJob() override;
|
| +
|
| + // Starts the real URL request.
|
| + void StartUrlRequest();
|
|
|
| // The string to select histograms which have |path_| as a substring.
|
| std::string path_;
|
|
|
| + base::WeakPtrFactory<HistogramInternalsRequestJob> weak_factory_;
|
| +
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(HistogramInternalsRequestJob);
|
| };
|
|
|
|
|