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

Unified Diff: net/url_request/url_request.h

Issue 7033036: net: Add NET_API to url_request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_transaction_factory.h ('k') | net/url_request/url_request_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
===================================================================
--- net/url_request/url_request.h (revision 85994)
+++ net/url_request/url_request.h (working copy)
@@ -19,6 +19,7 @@
#include "googleurl/src/gurl.h"
#include "net/base/completion_callback.h"
#include "net/base/load_states.h"
+#include "net/base/net_api.h"
#include "net/base/net_log.h"
#include "net/base/request_priority.h"
#include "net/http/http_request_headers.h"
@@ -58,7 +59,7 @@
//
// NOTE: All usage of all instances of this class should be on the same thread.
//
-class URLRequest : public base::NonThreadSafe {
+class NET_API URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
public:
// Callback function implemented by protocol handlers to create new jobs.
// The factory may return NULL to indicate an error, which will cause other
@@ -85,7 +86,7 @@
// This class handles network interception. Use with
// (Un)RegisterRequestInterceptor.
- class Interceptor {
+ class NET_API Interceptor {
public:
virtual ~Interceptor() {}
@@ -137,7 +138,7 @@
// if an error occurred, or if the IO is just pending. When Read() returns
// true with zero bytes read, it indicates the end of the response.
//
- class Delegate {
+ class NET_API Delegate {
public:
virtual ~Delegate() {}
« no previous file with comments | « net/http/http_transaction_factory.h ('k') | net/url_request/url_request_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698