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

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

Issue 6362186595172352: net: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and revert nss_ocsp.cc changes Created 7 years, 5 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/http_auth_filter_unittest.cc ('k') | net/http/http_network_transaction.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) 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_HTTP_AUTH_HANDLER_MOCK_H_ 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_
6 #define NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_ 6 #define NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "googleurl/src/gurl.h"
13 #include "net/http/http_auth_handler.h" 12 #include "net/http/http_auth_handler.h"
14 #include "net/http/http_auth_handler_factory.h" 13 #include "net/http/http_auth_handler_factory.h"
14 #include "url/gurl.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 class HostResolver; 18 class HostResolver;
19 19
20 // MockAuthHandler is used in tests to reliably trigger edge cases. 20 // MockAuthHandler is used in tests to reliably trigger edge cases.
21 class HttpAuthHandlerMock : public HttpAuthHandler { 21 class HttpAuthHandlerMock : public HttpAuthHandler {
22 public: 22 public:
23 enum Resolve { 23 enum Resolve {
24 RESOLVE_INIT, 24 RESOLVE_INIT,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool first_round_; 115 bool first_round_;
116 bool connection_based_; 116 bool connection_based_;
117 bool allows_default_credentials_; 117 bool allows_default_credentials_;
118 bool allows_explicit_credentials_; 118 bool allows_explicit_credentials_;
119 GURL request_url_; 119 GURL request_url_;
120 }; 120 };
121 121
122 } // namespace net 122 } // namespace net
123 123
124 #endif // NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_ 124 #endif // NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_
OLDNEW
« no previous file with comments | « net/http/http_auth_filter_unittest.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698