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

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

Issue 9817014: Created a new class SpdyTestStateHelper to serve as a helper to manage the state of a number of SPD… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO Created 8 years, 9 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/spdy/spdy_test_util_spdy2.cc ('k') | net/spdy/spdy_test_util_spdy3.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) 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_SPDY_SPDY_TEST_UTIL_H_ 5 #ifndef NET_SPDY_SPDY_TEST_UTIL_H_
6 #define NET_SPDY_SPDY_TEST_UTIL_H_ 6 #define NET_SPDY_SPDY_TEST_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "net/base/cert_verifier.h" 10 #include "net/base/cert_verifier.h"
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 void DisableDomainAuthenticationVerification() { 407 void DisableDomainAuthenticationVerification() {
408 pool_->verify_domain_authentication_ = false; 408 pool_->verify_domain_authentication_ = false;
409 } 409 }
410 410
411 private: 411 private:
412 SpdySessionPool* const pool_; 412 SpdySessionPool* const pool_;
413 413
414 DISALLOW_COPY_AND_ASSIGN(SpdySessionPoolPeer); 414 DISALLOW_COPY_AND_ASSIGN(SpdySessionPoolPeer);
415 }; 415 };
416 416
417 // Helper to manage the state of a number of SPDY global variables.
418 class SpdyTestStateHelper {
419 public:
420 SpdyTestStateHelper();
421 ~SpdyTestStateHelper();
422
423 private:
424 DISALLOW_COPY_AND_ASSIGN(SpdyTestStateHelper);
425 };
426
417 } // namespace test_spdy3 427 } // namespace test_spdy3
418 428
419 } // namespace net 429 } // namespace net
420 430
421 #endif // NET_SPDY_SPDY_TEST_UTIL_H_ 431 #endif // NET_SPDY_SPDY_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_test_util_spdy2.cc ('k') | net/spdy/spdy_test_util_spdy3.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698