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

Side by Side Diff: net/http/url_security_manager.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_HTTP_URL_SECURITY_MANAGER_H_ 5 #ifndef NET_HTTP_URL_SECURITY_MANAGER_H_
6 #define NET_HTTP_URL_SECURITY_MANAGER_H_ 6 #define NET_HTTP_URL_SECURITY_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "net/base/net_api.h" 11 #include "net/base/net_export.h"
12 12
13 class GURL; 13 class GURL;
14 14
15 namespace net { 15 namespace net {
16 16
17 class HttpAuthFilter; 17 class HttpAuthFilter;
18 18
19 // The URL security manager controls the policies (allow, deny, prompt user) 19 // The URL security manager controls the policies (allow, deny, prompt user)
20 // regarding URL actions (e.g., sending the default credentials to a server). 20 // regarding URL actions (e.g., sending the default credentials to a server).
21 class NET_API URLSecurityManager { 21 class NET_EXPORT URLSecurityManager {
22 public: 22 public:
23 URLSecurityManager() {} 23 URLSecurityManager() {}
24 virtual ~URLSecurityManager() {} 24 virtual ~URLSecurityManager() {}
25 25
26 // Creates a platform-dependent instance of URLSecurityManager. 26 // Creates a platform-dependent instance of URLSecurityManager.
27 // 27 //
28 // |whitelist_default| is the whitelist of servers that default credentials 28 // |whitelist_default| is the whitelist of servers that default credentials
29 // can be used with during NTLM or Negotiate authentication. If 29 // can be used with during NTLM or Negotiate authentication. If
30 // |whitelist_default| is NULL and the platform is Windows, it indicates 30 // |whitelist_default| is NULL and the platform is Windows, it indicates
31 // that security zone mapping should be used to determine whether default 31 // that security zone mapping should be used to determine whether default
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 private: 71 private:
72 scoped_ptr<const HttpAuthFilter> whitelist_default_; 72 scoped_ptr<const HttpAuthFilter> whitelist_default_;
73 scoped_ptr<const HttpAuthFilter> whitelist_delegate_; 73 scoped_ptr<const HttpAuthFilter> whitelist_delegate_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(URLSecurityManagerWhitelist); 75 DISALLOW_COPY_AND_ASSIGN(URLSecurityManagerWhitelist);
76 }; 76 };
77 77
78 } // namespace net 78 } // namespace net
79 79
80 #endif // NET_HTTP_URL_SECURITY_MANAGER_H_ 80 #endif // NET_HTTP_URL_SECURITY_MANAGER_H_
OLDNEW
« net/disk_cache/disk_cache.h ('K') | « net/http/proxy_client_socket.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698