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

Side by Side Diff: net/spdy/spdy_stream_unittest.cc

Issue 215023002: Rename PrivateMode enum values: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 8 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_session_unittest.cc ('k') | net/spdy/spdy_websocket_stream_unittest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include <cstddef> 5 #include <cstddef>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 UnstallFunction; 46 UnstallFunction;
47 47
48 SpdyStreamTest() 48 SpdyStreamTest()
49 : spdy_util_(GetParam()), 49 : spdy_util_(GetParam()),
50 session_deps_(GetParam()), 50 session_deps_(GetParam()),
51 offset_(0) {} 51 offset_(0) {}
52 52
53 base::WeakPtr<SpdySession> CreateDefaultSpdySession() { 53 base::WeakPtr<SpdySession> CreateDefaultSpdySession() {
54 SpdySessionKey key(HostPortPair("www.google.com", 80), 54 SpdySessionKey key(HostPortPair("www.google.com", 80),
55 ProxyServer::Direct(), 55 ProxyServer::Direct(),
56 kPrivacyModeDisabled); 56 PRIVACY_MODE_DISABLED);
57 return CreateInsecureSpdySession(session_, key, BoundNetLog()); 57 return CreateInsecureSpdySession(session_, key, BoundNetLog());
58 } 58 }
59 59
60 virtual void TearDown() { 60 virtual void TearDown() {
61 base::MessageLoop::current()->RunUntilIdle(); 61 base::MessageLoop::current()->RunUntilIdle();
62 } 62 }
63 63
64 void RunResumeAfterUnstallRequestResponseTest( 64 void RunResumeAfterUnstallRequestResponseTest(
65 const UnstallFunction& unstall_function); 65 const UnstallFunction& unstall_function);
66 66
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 data.RunFor(1); // FIN 1055 data.RunFor(1); // FIN
1056 1056
1057 EXPECT_EQ(ERR_CONNECTION_CLOSED, delegate.WaitForClose()); 1057 EXPECT_EQ(ERR_CONNECTION_CLOSED, delegate.WaitForClose());
1058 } 1058 }
1059 1059
1060 } // namespace 1060 } // namespace
1061 1061
1062 } // namespace test 1062 } // namespace test
1063 1063
1064 } // namespace net 1064 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_unittest.cc ('k') | net/spdy/spdy_websocket_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698