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

Side by Side Diff: net/http/http_auth_unittest.cc

Issue 12518036: net: move host_resolver files from net/base to net/dns (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 #include <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "net/base/mock_host_resolver.h"
12 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
12 #include "net/dns/mock_host_resolver.h"
13 #include "net/http/http_auth.h" 13 #include "net/http/http_auth.h"
14 #include "net/http/http_auth_filter.h" 14 #include "net/http/http_auth_filter.h"
15 #include "net/http/http_auth_handler.h" 15 #include "net/http/http_auth_handler.h"
16 #include "net/http/http_auth_handler_factory.h" 16 #include "net/http/http_auth_handler_factory.h"
17 #include "net/http/http_auth_handler_mock.h" 17 #include "net/http/http_auth_handler_mock.h"
18 #include "net/http/http_response_headers.h" 18 #include "net/http/http_response_headers.h"
19 #include "net/http/http_util.h" 19 #include "net/http/http_util.h"
20 #include "net/http/mock_allow_url_security_manager.h" 20 #include "net/http/mock_allow_url_security_manager.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 std::string name; 426 std::string name;
427 427
428 name = HttpAuth::GetAuthorizationHeaderName(HttpAuth::AUTH_SERVER); 428 name = HttpAuth::GetAuthorizationHeaderName(HttpAuth::AUTH_SERVER);
429 EXPECT_STREQ("Authorization", name.c_str()); 429 EXPECT_STREQ("Authorization", name.c_str());
430 430
431 name = HttpAuth::GetAuthorizationHeaderName(HttpAuth::AUTH_PROXY); 431 name = HttpAuth::GetAuthorizationHeaderName(HttpAuth::AUTH_PROXY);
432 EXPECT_STREQ("Proxy-Authorization", name.c_str()); 432 EXPECT_STREQ("Proxy-Authorization", name.c_str());
433 } 433 }
434 434
435 } // namespace net 435 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698