[android_webview] Disable AwSettingsTest broken by Blink roll.
[chromium-blink-merge.git] / content / browser / histogram_internals_request_job.h
blob4be774be87cca15ed62b4a51a7b1804f4f457c20
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.
5 #ifndef CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_
6 #define CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_
8 #include <string>
10 #include "base/basictypes.h"
11 #include "net/url_request/url_request_simple_job.h"
13 namespace content {
15 class HistogramInternalsRequestJob : public net::URLRequestSimpleJob {
16 public:
17 HistogramInternalsRequestJob(net::URLRequest* request,
18 net::NetworkDelegate* network_delegate);
20 virtual int GetData(std::string* mime_type,
21 std::string* charset,
22 std::string* data,
23 const net::CompletionCallback& callback) const OVERRIDE;
25 private:
26 virtual ~HistogramInternalsRequestJob() {}
28 // The string to select histograms which have |path_| as a substring.
29 std::string path_;
31 DISALLOW_IMPLICIT_CONSTRUCTORS(HistogramInternalsRequestJob);
34 } // namespace content
36 #endif // CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_