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

Side by Side Diff: trunk/src/net/url_request/url_request_test_util.h

Issue 24251011: Revert 224269 "Don't persist HPKP if PrivacyMode is enabled." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_
6 #define NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 const AuthChallengeInfo& auth_info, 263 const AuthChallengeInfo& auth_info,
264 const AuthCallback& callback, 264 const AuthCallback& callback,
265 AuthCredentials* credentials) OVERRIDE; 265 AuthCredentials* credentials) OVERRIDE;
266 virtual bool OnCanGetCookies(const URLRequest& request, 266 virtual bool OnCanGetCookies(const URLRequest& request,
267 const CookieList& cookie_list) OVERRIDE; 267 const CookieList& cookie_list) OVERRIDE;
268 virtual bool OnCanSetCookie(const URLRequest& request, 268 virtual bool OnCanSetCookie(const URLRequest& request,
269 const std::string& cookie_line, 269 const std::string& cookie_line,
270 CookieOptions* options) OVERRIDE; 270 CookieOptions* options) OVERRIDE;
271 virtual bool OnCanAccessFile(const URLRequest& request, 271 virtual bool OnCanAccessFile(const URLRequest& request,
272 const base::FilePath& path) const OVERRIDE; 272 const base::FilePath& path) const OVERRIDE;
273 virtual bool OnCanThrottleRequest(const URLRequest& request) const OVERRIDE; 273 virtual bool OnCanThrottleRequest(
274 const URLRequest& request) const OVERRIDE;
274 virtual int OnBeforeSocketStreamConnect( 275 virtual int OnBeforeSocketStreamConnect(
275 SocketStream* stream, 276 SocketStream* stream,
276 const CompletionCallback& callback) OVERRIDE; 277 const CompletionCallback& callback) OVERRIDE;
277 virtual void OnRequestWaitStateChange(const URLRequest& request, 278 virtual void OnRequestWaitStateChange(const URLRequest& request,
278 RequestWaitState state) OVERRIDE; 279 RequestWaitState state) OVERRIDE;
279 280
280 void InitRequestStatesIfNew(int request_id); 281 void InitRequestStatesIfNew(int request_id);
281 282
282 int last_error_; 283 int last_error_;
283 int error_count_; 284 int error_count_;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 NetworkDelegate* network_delegate) const OVERRIDE; 344 NetworkDelegate* network_delegate) const OVERRIDE;
344 void set_main_intercept_job(URLRequestJob* job); 345 void set_main_intercept_job(URLRequestJob* job);
345 346
346 private: 347 private:
347 mutable URLRequestJob* main_intercept_job_; 348 mutable URLRequestJob* main_intercept_job_;
348 }; 349 };
349 350
350 } // namespace net 351 } // namespace net
351 352
352 #endif // NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_ 353 #endif // NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « trunk/src/net/url_request/url_request_http_job.cc ('k') | trunk/src/net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698