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

Side by Side Diff: net/http/url_security_manager.h

Issue 3814013: FBTF: Monster ctor patch after changing heuristics in clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: More add file fail Created 10 years, 2 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
« no previous file with comments | « net/http/partial_data.cc ('k') | net/http/url_security_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 private: 55 private:
56 DISALLOW_COPY_AND_ASSIGN(URLSecurityManager); 56 DISALLOW_COPY_AND_ASSIGN(URLSecurityManager);
57 }; 57 };
58 58
59 class URLSecurityManagerWhitelist : public URLSecurityManager { 59 class URLSecurityManagerWhitelist : public URLSecurityManager {
60 public: 60 public:
61 // The URLSecurityManagerWhitelist takes ownership of the whitelists. 61 // The URLSecurityManagerWhitelist takes ownership of the whitelists.
62 URLSecurityManagerWhitelist(const HttpAuthFilter* whitelist_default, 62 URLSecurityManagerWhitelist(const HttpAuthFilter* whitelist_default,
63 const HttpAuthFilter* whitelist_delegation); 63 const HttpAuthFilter* whitelist_delegation);
64 virtual ~URLSecurityManagerWhitelist();
64 65
65 // URLSecurityManager methods. 66 // URLSecurityManager methods.
66 virtual bool CanUseDefaultCredentials(const GURL& auth_origin) const; 67 virtual bool CanUseDefaultCredentials(const GURL& auth_origin) const;
67 virtual bool CanDelegate(const GURL& auth_origin) const; 68 virtual bool CanDelegate(const GURL& auth_origin) const;
68 69
69 private: 70 private:
70 scoped_ptr<const HttpAuthFilter> whitelist_default_; 71 scoped_ptr<const HttpAuthFilter> whitelist_default_;
71 scoped_ptr<const HttpAuthFilter> whitelist_delegate_; 72 scoped_ptr<const HttpAuthFilter> whitelist_delegate_;
72 73
73 DISALLOW_COPY_AND_ASSIGN(URLSecurityManagerWhitelist); 74 DISALLOW_COPY_AND_ASSIGN(URLSecurityManagerWhitelist);
(...skipping 14 matching lines...) Expand all
88 } 89 }
89 90
90 private: 91 private:
91 DISALLOW_COPY_AND_ASSIGN(URLSecurityManagerAllow); 92 DISALLOW_COPY_AND_ASSIGN(URLSecurityManagerAllow);
92 }; 93 };
93 #endif // defined(UNIT_TEST) 94 #endif // defined(UNIT_TEST)
94 95
95 } // namespace net 96 } // namespace net
96 97
97 #endif // NET_HTTP_URL_SECURITY_MANAGER_H_ 98 #endif // NET_HTTP_URL_SECURITY_MANAGER_H_
OLDNEW
« no previous file with comments | « net/http/partial_data.cc ('k') | net/http/url_security_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698