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

Side by Side Diff: net/url_request/url_request_about_job.h

Issue 1284173003: Create a about handler component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 4 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
« no previous file with comments | « net/net.gypi ('k') | net/url_request/url_request_about_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
7
8 #include <string>
9
10 #include "base/memory/weak_ptr.h"
11 #include "net/url_request/url_request.h"
12 #include "net/url_request/url_request_job.h"
13
14 namespace net {
15
16 class NET_EXPORT URLRequestAboutJob : public URLRequestJob {
17 public:
18 URLRequestAboutJob(URLRequest* request, NetworkDelegate* network_delegate);
19
20 // URLRequestJob:
21 void Start() override;
22 bool GetMimeType(std::string* mime_type) const override;
23
24 private:
25 ~URLRequestAboutJob() override;
26
27 void StartAsync();
28
29 base::WeakPtrFactory<URLRequestAboutJob> weak_factory_;
30 };
31
32 } // namespace net
33
34 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/url_request/url_request_about_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698