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

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

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "net/url_request/url_request.h" 12 #include "net/url_request/url_request.h"
13 #include "net/url_request/url_request_job.h" 13 #include "net/url_request/url_request_job.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 class NET_API URLRequestAboutJob : public URLRequestJob { 17 class NET_EXPORT URLRequestAboutJob : public URLRequestJob {
18 public: 18 public:
19 explicit URLRequestAboutJob(URLRequest* request); 19 explicit URLRequestAboutJob(URLRequest* request);
20 20
21 static URLRequest::ProtocolFactory Factory; 21 static URLRequest::ProtocolFactory Factory;
22 22
23 // URLRequestJob: 23 // URLRequestJob:
24 virtual void Start(); 24 virtual void Start();
25 virtual bool GetMimeType(std::string* mime_type) const; 25 virtual bool GetMimeType(std::string* mime_type) const;
26 26
27 private: 27 private:
28 virtual ~URLRequestAboutJob(); 28 virtual ~URLRequestAboutJob();
29 29
30 void StartAsync(); 30 void StartAsync();
31 31
32 ScopedRunnableMethodFactory<URLRequestAboutJob> method_factory_; 32 ScopedRunnableMethodFactory<URLRequestAboutJob> method_factory_;
33 }; 33 };
34 34
35 } // namespace net 35 } // namespace net
36 36
37 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ 37 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698