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

Side by Side Diff: net/proxy/sync_host_resolver.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_PROXY_SYNC_HOST_RESOLVER_H_ 5 #ifndef NET_PROXY_SYNC_HOST_RESOLVER_H_
6 #define NET_PROXY_SYNC_HOST_RESOLVER_H_ 6 #define NET_PROXY_SYNC_HOST_RESOLVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/base/host_resolver.h" 9 #include "net/base/host_resolver.h"
10 #include "net/base/net_api.h" 10 #include "net/base/net_export.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 // Interface used by ProxyResolverJSBindings to abstract a synchronous host 14 // Interface used by ProxyResolverJSBindings to abstract a synchronous host
15 // resolver module (which includes a Shutdown method). 15 // resolver module (which includes a Shutdown method).
16 class NET_TEST SyncHostResolver { 16 class NET_EXPORT_PRIVATE SyncHostResolver {
17 public: 17 public:
18 virtual ~SyncHostResolver() {} 18 virtual ~SyncHostResolver() {}
19 19
20 virtual int Resolve(const HostResolver::RequestInfo& info, 20 virtual int Resolve(const HostResolver::RequestInfo& info,
21 AddressList* addresses) = 0; 21 AddressList* addresses) = 0;
22 22
23 // Optionally aborts any blocking resolves that are in progress. 23 // Optionally aborts any blocking resolves that are in progress.
24 virtual void Shutdown() = 0; 24 virtual void Shutdown() = 0;
25 }; 25 };
26 26
27 } // namespace net 27 } // namespace net
28 28
29 #endif // NET_PROXY_SYNC_HOST_RESOLVER_H_ 29 #endif // NET_PROXY_SYNC_HOST_RESOLVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698