Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1019)

Side by Side Diff: content/browser/histogram_internals_request_job.h

Issue 10855209: Refactoring: ProtocolHandler::MaybeCreateJob takes NetworkDelegate as argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest merge Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #ifndef CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_ 5 #ifndef CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_
6 #define CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_ 6 #define CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "net/url_request/url_request_simple_job.h" 11 #include "net/url_request/url_request_simple_job.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class HistogramInternalsRequestJob : public net::URLRequestSimpleJob { 15 class HistogramInternalsRequestJob : public net::URLRequestSimpleJob {
16 public: 16 public:
17 explicit HistogramInternalsRequestJob(net::URLRequest* request); 17 HistogramInternalsRequestJob(net::URLRequest* request,
18 net::NetworkDelegate* network_delegate);
18 19
19 virtual int GetData(std::string* mime_type, 20 virtual int GetData(std::string* mime_type,
20 std::string* charset, 21 std::string* charset,
21 std::string* data, 22 std::string* data,
22 const net::CompletionCallback& callback) const OVERRIDE; 23 const net::CompletionCallback& callback) const OVERRIDE;
23 24
24 private: 25 private:
25 virtual ~HistogramInternalsRequestJob() {} 26 virtual ~HistogramInternalsRequestJob() {}
26 27
27 // The string to select histograms which have |path_| as a substring. 28 // The string to select histograms which have |path_| as a substring.
28 std::string path_; 29 std::string path_;
29 30
30 DISALLOW_IMPLICIT_CONSTRUCTORS(HistogramInternalsRequestJob); 31 DISALLOW_IMPLICIT_CONSTRUCTORS(HistogramInternalsRequestJob);
31 }; 32 };
32 33
33 } // namespace content 34 } // namespace content
34 35
35 #endif // CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_ 36 #endif // CONTENT_BROWSER_HISTOGRAM_INTERNALS_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/net/test_automation_provider.cc ('k') | content/browser/histogram_internals_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698