diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-20 19:01:49 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-20 19:01:49 +0000 |
commit | eb2b46a69de70649034060e0bb569f10fca5856a (patch) | |
tree | 4f87e02c0b3246ab4a18e34971f1282eeddebdff /net/http | |
parent | 72a9b30f46ce4b47a3d545fba1b6918fb5cd7b44 (diff) | |
download | chromium_src-eb2b46a69de70649034060e0bb569f10fca5856a.zip chromium_src-eb2b46a69de70649034060e0bb569f10fca5856a.tar.gz chromium_src-eb2b46a69de70649034060e0bb569f10fca5856a.tar.bz2 |
net: Add NET_API to url_request.
BUG=76997
TEST=none
Review URL: http://codereview.chromium.org/7033036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_alternate_protocols.h | 5 | ||||
-rw-r--r-- | net/http/http_network_session.h | 8 | ||||
-rw-r--r-- | net/http/http_transaction_factory.h | 3 |
3 files changed, 10 insertions, 6 deletions
diff --git a/net/http/http_alternate_protocols.h b/net/http/http_alternate_protocols.h index 10b1a06..3829044 100644 --- a/net/http/http_alternate_protocols.h +++ b/net/http/http_alternate_protocols.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -16,10 +16,11 @@ #include "base/basictypes.h" #include "net/base/host_port_pair.h" +#include "net/base/net_api.h" namespace net { -class HttpAlternateProtocols { +class NET_API HttpAlternateProtocols { public: enum Protocol { NPN_SPDY_1, diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h index 1efc302..b92b033 100644 --- a/net/http/http_network_session.h +++ b/net/http/http_network_session.h @@ -11,6 +11,7 @@ #include "base/threading/non_thread_safe.h" #include "net/base/host_port_pair.h" #include "net/base/host_resolver.h" +#include "net/base/net_api.h" #include "net/base/ssl_client_auth_cache.h" #include "net/http/http_alternate_protocols.h" #include "net/http/http_auth_cache.h" @@ -39,10 +40,11 @@ class SSLConfigService; class SSLHostInfoFactory; // This class holds session objects used by HttpNetworkTransaction objects. -class HttpNetworkSession : public base::RefCounted<HttpNetworkSession>, - public base::NonThreadSafe { +class NET_API HttpNetworkSession + : public base::RefCounted<HttpNetworkSession>, + NON_EXPORTED_BASE(public base::NonThreadSafe) { public: - struct Params { + struct NET_API Params { Params() : client_socket_factory(NULL), host_resolver(NULL), diff --git a/net/http/http_transaction_factory.h b/net/http/http_transaction_factory.h index e457828..aef7e03 100644 --- a/net/http/http_transaction_factory.h +++ b/net/http/http_transaction_factory.h @@ -7,6 +7,7 @@ #pragma once #include "base/memory/scoped_ptr.h" +#include "net/base/net_api.h" namespace net { @@ -16,7 +17,7 @@ class HttpTransaction; // An interface to a class that can create HttpTransaction objects. -class HttpTransactionFactory { +class NET_API HttpTransactionFactory { public: virtual ~HttpTransactionFactory() {} |