| OLD | NEW |
| 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 #include "net/http/url_security_manager.h" | 5 #include "net/http/url_security_manager.h" |
| 6 | 6 |
| 7 #include <urlmon.h> | 7 #include <urlmon.h> |
| 8 #pragma comment(lib, "urlmon.lib") | |
| 9 | 8 |
| 10 #include "base/macros.h" | 9 #include "base/macros.h" |
| 11 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 13 #include "base/win/scoped_comptr.h" | 12 #include "base/win/scoped_comptr.h" |
| 14 #include "net/http/http_auth_filter.h" | 13 #include "net/http/http_auth_filter.h" |
| 15 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 16 | 15 |
| 17 // The Windows implementation of URLSecurityManager uses WinINet/IE's | 16 // The Windows implementation of URLSecurityManager uses WinINet/IE's |
| 18 // URL security zone manager. See the MSDN page "URL Security Zones" at | 17 // URL security zone manager. See the MSDN page "URL Security Zones" at |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 } | 114 } |
| 116 return true; | 115 return true; |
| 117 } | 116 } |
| 118 | 117 |
| 119 // static | 118 // static |
| 120 URLSecurityManager* URLSecurityManager::Create() { | 119 URLSecurityManager* URLSecurityManager::Create() { |
| 121 return new URLSecurityManagerWin; | 120 return new URLSecurityManagerWin; |
| 122 } | 121 } |
| 123 | 122 |
| 124 } // namespace net | 123 } // namespace net |
| OLD | NEW |