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

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

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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
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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 do_init_from_challenge_ = do_init_from_challenge; 42 do_init_from_challenge_ = do_init_from_challenge;
43 } 43 }
44 44
45 // HttpAuthHandlerFactory: 45 // HttpAuthHandlerFactory:
46 int CreateAuthHandler(HttpAuthChallengeTokenizer* challenge, 46 int CreateAuthHandler(HttpAuthChallengeTokenizer* challenge,
47 HttpAuth::Target target, 47 HttpAuth::Target target,
48 const SSLInfo& ssl_info, 48 const SSLInfo& ssl_info,
49 const GURL& origin, 49 const GURL& origin,
50 CreateReason reason, 50 CreateReason reason,
51 int nonce_count, 51 int nonce_count,
52 const BoundNetLog& net_log, 52 const NetLogWithSource& net_log,
53 std::unique_ptr<HttpAuthHandler>* handler) override; 53 std::unique_ptr<HttpAuthHandler>* handler) override;
54 54
55 private: 55 private:
56 std::vector<std::unique_ptr<HttpAuthHandler>> 56 std::vector<std::unique_ptr<HttpAuthHandler>>
57 handlers_[HttpAuth::AUTH_NUM_TARGETS]; 57 handlers_[HttpAuth::AUTH_NUM_TARGETS];
58 bool do_init_from_challenge_; 58 bool do_init_from_challenge_;
59 }; 59 };
60 60
61 HttpAuthHandlerMock(); 61 HttpAuthHandlerMock();
62 62
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 bool connection_based_; 118 bool connection_based_;
119 bool allows_default_credentials_; 119 bool allows_default_credentials_;
120 bool allows_explicit_credentials_; 120 bool allows_explicit_credentials_;
121 GURL request_url_; 121 GURL request_url_;
122 base::WeakPtrFactory<HttpAuthHandlerMock> weak_factory_; 122 base::WeakPtrFactory<HttpAuthHandlerMock> weak_factory_;
123 }; 123 };
124 124
125 } // namespace net 125 } // namespace net
126 126
127 #endif // NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_ 127 #endif // NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698