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

Unified Diff: net/url_request/url_request.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 side-by-side diff with in-line comments
Download patch
Index: net/url_request/url_request.h
===================================================================
--- net/url_request/url_request.h (revision 95949)
+++ net/url_request/url_request.h (working copy)
@@ -19,7 +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_export.h"
#include "net/base/net_log.h"
#include "net/base/request_priority.h"
#include "net/http/http_request_headers.h"
@@ -104,7 +104,7 @@
//
// NOTE: All usage of all instances of this class should be on the same thread.
//
-class NET_API URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
+class NET_EXPORT 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
@@ -131,7 +131,7 @@
// This class handles network interception. Use with
// (Un)RegisterRequestInterceptor.
- class NET_API Interceptor {
+ class NET_EXPORT Interceptor {
public:
virtual ~Interceptor() {}
@@ -163,7 +163,7 @@
// Deprecated interfaces in net::URLRequest. They have been moved to
// URLRequest's private section to prevent new uses. Existing uses are
// explicitly friended here and should be removed over time.
- class NET_API Deprecated {
+ class NET_EXPORT Deprecated {
private:
// TODO(willchan): Kill off these friend declarations.
friend class ::AutoUpdateInterceptor;
@@ -220,7 +220,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 NET_API Delegate {
+ class NET_EXPORT Delegate {
public:
virtual ~Delegate() {}

Powered by Google App Engine
This is Rietveld 408576698