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

Unified Diff: net/proxy/dhcp_proxy_script_adapter_fetcher_win.h

Issue 7056019: net: Add NET_API to a few more files. (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
Index: net/proxy/dhcp_proxy_script_adapter_fetcher_win.h
===================================================================
--- net/proxy/dhcp_proxy_script_adapter_fetcher_win.h (revision 85994)
+++ net/proxy/dhcp_proxy_script_adapter_fetcher_win.h (working copy)
@@ -13,6 +13,7 @@
#include "base/threading/non_thread_safe.h"
#include "base/timer.h"
#include "net/base/completion_callback.h"
+#include "net/base/net_api.h"
#include "googleurl/src/gurl.h"
namespace base {
@@ -26,9 +27,9 @@
// For a given adapter, this class takes care of first doing a DHCP lookup
// to get the PAC URL, then if there is one, trying to fetch it.
-class DhcpProxyScriptAdapterFetcher
+class NET_TEST DhcpProxyScriptAdapterFetcher
: public base::SupportsWeakPtr<DhcpProxyScriptAdapterFetcher>,
- public base::NonThreadSafe {
+ NON_EXPORTED_BASE(public base::NonThreadSafe) {
public:
// |url_request_context| must outlive DhcpProxyScriptAdapterFetcher.
explicit DhcpProxyScriptAdapterFetcher(
@@ -81,7 +82,8 @@
// only a weak reference back to the main object, so that the main object
// can be destroyed before the thread ends. This also keeps the main
// object completely thread safe and allows it to be non-refcounted.
- class WorkerThread : public base::RefCountedThreadSafe<WorkerThread> {
+ class NET_TEST WorkerThread
+ : public base::RefCountedThreadSafe<WorkerThread> {
public:
// Creates and initializes (but does not start) the worker thread.
explicit WorkerThread(

Powered by Google App Engine
This is Rietveld 408576698