OLD | NEW |
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 #include "net/http/url_security_manager.h" | 5 #include "net/http/url_security_manager.h" |
6 | 6 |
7 #include "base/basictypes.h" | |
8 #include "net/base/net_errors.h" | 7 #include "net/base/net_errors.h" |
9 #include "net/http/http_auth_filter.h" | 8 #include "net/http/http_auth_filter.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "url/gurl.h" | 10 #include "url/gurl.h" |
12 | 11 |
13 namespace net { | 12 namespace net { |
14 | 13 |
15 namespace { | 14 namespace { |
16 | 15 |
17 struct TestData { | 16 struct TestData { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 88 |
90 for (size_t i = 0; i < arraysize(kTestDataList); ++i) { | 89 for (size_t i = 0; i < arraysize(kTestDataList); ++i) { |
91 GURL gurl(kTestDataList[i].url); | 90 GURL gurl(kTestDataList[i].url); |
92 bool can_delegate = url_security_manager->CanDelegate(gurl); | 91 bool can_delegate = url_security_manager->CanDelegate(gurl); |
93 EXPECT_FALSE(can_delegate); | 92 EXPECT_FALSE(can_delegate); |
94 } | 93 } |
95 } | 94 } |
96 | 95 |
97 | 96 |
98 } // namespace net | 97 } // namespace net |
OLD | NEW |