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

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

Issue 506523002: net : Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 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
« no previous file with comments | « net/http/disk_cache_based_quic_server_info.cc ('k') | net/http/http_auth_handler_mock.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"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 const CompletionCallback& callback, 101 const CompletionCallback& callback,
102 std::string* auth_token) OVERRIDE; 102 std::string* auth_token) OVERRIDE;
103 103
104 private: 104 private:
105 void OnResolveCanonicalName(); 105 void OnResolveCanonicalName();
106 106
107 void OnGenerateAuthToken(); 107 void OnGenerateAuthToken();
108 108
109 Resolve resolve_; 109 Resolve resolve_;
110 CompletionCallback callback_; 110 CompletionCallback callback_;
111 base::WeakPtrFactory<HttpAuthHandlerMock> weak_factory_;
112 bool generate_async_; 111 bool generate_async_;
113 int generate_rv_; 112 int generate_rv_;
114 std::string* auth_token_; 113 std::string* auth_token_;
115 bool first_round_; 114 bool first_round_;
116 bool connection_based_; 115 bool connection_based_;
117 bool allows_default_credentials_; 116 bool allows_default_credentials_;
118 bool allows_explicit_credentials_; 117 bool allows_explicit_credentials_;
119 GURL request_url_; 118 GURL request_url_;
119 base::WeakPtrFactory<HttpAuthHandlerMock> weak_factory_;
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/disk_cache_based_quic_server_info.cc ('k') | net/http/http_auth_handler_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698