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

Side by Side Diff: net/spdy/spdy_test_util_common.h

Issue 2360343002: Remove test-only |verify_domain_authentication|. (Closed)
Patch Set: Created 4 years, 2 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/spdy/spdy_session_pool.cc ('k') | net/spdy/spdy_test_util_common.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_SPDY_SPDY_TEST_UTIL_COMMON_H_ 5 #ifndef NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 base::WeakPtr<SpdySession> TryCreateFakeSpdySessionExpectingFailure( 263 base::WeakPtr<SpdySession> TryCreateFakeSpdySessionExpectingFailure(
264 SpdySessionPool* pool, 264 SpdySessionPool* pool,
265 const SpdySessionKey& key, 265 const SpdySessionKey& key,
266 Error expected_error); 266 Error expected_error);
267 267
268 class SpdySessionPoolPeer { 268 class SpdySessionPoolPeer {
269 public: 269 public:
270 explicit SpdySessionPoolPeer(SpdySessionPool* pool); 270 explicit SpdySessionPoolPeer(SpdySessionPool* pool);
271 271
272 void RemoveAliases(const SpdySessionKey& key); 272 void RemoveAliases(const SpdySessionKey& key);
273 void DisableDomainAuthenticationVerification();
274 void SetEnableSendingInitialData(bool enabled); 273 void SetEnableSendingInitialData(bool enabled);
275 void SetSessionMaxRecvWindowSize(size_t window); 274 void SetSessionMaxRecvWindowSize(size_t window);
276 void SetStreamInitialRecvWindowSize(size_t window); 275 void SetStreamInitialRecvWindowSize(size_t window);
277 276
278 private: 277 private:
279 SpdySessionPool* const pool_; 278 SpdySessionPool* const pool_;
280 279
281 DISALLOW_COPY_AND_ASSIGN(SpdySessionPoolPeer); 280 DISALLOW_COPY_AND_ASSIGN(SpdySessionPoolPeer);
282 }; 281 };
283 282
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 516
518 GURL default_url_; 517 GURL default_url_;
519 518
520 // Track a FIFO list of the stream_id of all created requests by priority. 519 // Track a FIFO list of the stream_id of all created requests by priority.
521 std::map<int, std::vector<int>> priority_to_stream_id_list_; 520 std::map<int, std::vector<int>> priority_to_stream_id_list_;
522 }; 521 };
523 522
524 } // namespace net 523 } // namespace net
525 524
526 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 525 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_pool.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698