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

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

Issue 8568021: Add OVERRIDE to net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net only Created 9 years, 1 month 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/mock_gssapi_library_posix.h ('k') | net/server/http_server.h » ('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) 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"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 }; 58 };
59 59
60 class URLSecurityManagerWhitelist : public URLSecurityManager { 60 class URLSecurityManagerWhitelist : public URLSecurityManager {
61 public: 61 public:
62 // The URLSecurityManagerWhitelist takes ownership of the whitelists. 62 // The URLSecurityManagerWhitelist takes ownership of the whitelists.
63 URLSecurityManagerWhitelist(const HttpAuthFilter* whitelist_default, 63 URLSecurityManagerWhitelist(const HttpAuthFilter* whitelist_default,
64 const HttpAuthFilter* whitelist_delegation); 64 const HttpAuthFilter* whitelist_delegation);
65 virtual ~URLSecurityManagerWhitelist(); 65 virtual ~URLSecurityManagerWhitelist();
66 66
67 // URLSecurityManager methods. 67 // URLSecurityManager methods.
68 virtual bool CanUseDefaultCredentials(const GURL& auth_origin) const; 68 virtual bool CanUseDefaultCredentials(const GURL& auth_origin) const OVERRIDE;
69 virtual bool CanDelegate(const GURL& auth_origin) const; 69 virtual bool CanDelegate(const GURL& auth_origin) const OVERRIDE;
70 70
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
« no previous file with comments | « net/http/mock_gssapi_library_posix.h ('k') | net/server/http_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698