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

Unified Diff: net/http/disk_cache_based_quic_server_info_unittest.cc

Issue 217053010: Revert of Rename PrivateMode enum values: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/privacy_mode.h ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/disk_cache_based_quic_server_info_unittest.cc
diff --git a/net/http/disk_cache_based_quic_server_info_unittest.cc b/net/http/disk_cache_based_quic_server_info_unittest.cc
index 3fb9ba59c62578aa1197afe189ac5de2a36b1f54..ed0e1b71577222d3f23cbdfc56212f0179ad7368 100644
--- a/net/http/disk_cache_based_quic_server_info_unittest.cc
+++ b/net/http/disk_cache_based_quic_server_info_unittest.cc
@@ -58,7 +58,7 @@
MockBlockingBackendFactory* factory = new MockBlockingBackendFactory();
MockHttpCache cache(factory);
QuicSessionKey server_key("www.verisign.com", 443, true,
- PRIVACY_MODE_DISABLED);
+ kPrivacyModeDisabled);
scoped_ptr<QuicServerInfo> quic_server_info(
new DiskCacheBasedQuicServerInfo(server_key, cache.http_cache()));
quic_server_info->Start();
@@ -76,7 +76,7 @@
AddMockTransaction(&kHostInfoTransaction1);
TestCompletionCallback callback;
- QuicSessionKey server_key("www.google.com", 443, true, PRIVACY_MODE_DISABLED);
+ QuicSessionKey server_key("www.google.com", 443, true, kPrivacyModeDisabled);
scoped_ptr<QuicServerInfo> quic_server_info(
new DiskCacheBasedQuicServerInfo(server_key, cache.http_cache()));
quic_server_info->Start();
@@ -143,8 +143,7 @@
TestCompletionCallback callback;
// Persist data for port 443.
- QuicSessionKey server_key1("www.google.com", 443, true,
- PRIVACY_MODE_DISABLED);
+ QuicSessionKey server_key1("www.google.com", 443, true, kPrivacyModeDisabled);
scoped_ptr<QuicServerInfo> quic_server_info1(
new DiskCacheBasedQuicServerInfo(server_key1, cache.http_cache()));
quic_server_info1->Start();
@@ -168,8 +167,7 @@
base::MessageLoop::current()->RunUntilIdle();
// Persist data for port 80.
- QuicSessionKey server_key2("www.google.com", 80, false,
- PRIVACY_MODE_DISABLED);
+ QuicSessionKey server_key2("www.google.com", 80, false, kPrivacyModeDisabled);
scoped_ptr<QuicServerInfo> quic_server_info2(
new DiskCacheBasedQuicServerInfo(server_key2, cache.http_cache()));
quic_server_info2->Start();
@@ -232,7 +230,7 @@
AddMockTransaction(&kHostInfoTransaction1);
TestCompletionCallback callback;
- QuicSessionKey server_key("www.google.com", 443, true, PRIVACY_MODE_DISABLED);
+ QuicSessionKey server_key("www.google.com", 443, true, kPrivacyModeDisabled);
scoped_ptr<QuicServerInfo> quic_server_info(
new DiskCacheBasedQuicServerInfo(server_key, cache.http_cache()));
EXPECT_FALSE(quic_server_info->IsDataReady());
« no previous file with comments | « net/base/privacy_mode.h ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698