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

Unified Diff: net/ssl/ssl_client_session_cache_unittest.cc

Issue 2696403007: Add a multiplier in tracking certificate memory allocation size (Closed)
Patch Set: self Created 3 years, 10 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/ssl/ssl_client_session_cache.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_client_session_cache_unittest.cc
diff --git a/net/ssl/ssl_client_session_cache_unittest.cc b/net/ssl/ssl_client_session_cache_unittest.cc
index 3f3bb54fdab4fd654e5d2c8416e072ac71165dad..5158782d93400aae1d2f666194c407b272ba1843 100644
--- a/net/ssl/ssl_client_session_cache_unittest.cc
+++ b/net/ssl/ssl_client_session_cache_unittest.cc
@@ -386,7 +386,9 @@ TEST_F(SSLClientSessionCacheTest, TestDumpMemoryStats) {
base::DictionaryValue* attrs;
ASSERT_TRUE(raw_attrs->GetAsDictionary(&attrs));
ASSERT_TRUE(attrs->HasKey("cert_count"));
- ASSERT_TRUE(attrs->HasKey("serialized_cert_size"));
+ ASSERT_TRUE(attrs->HasKey("cert_size"));
+ ASSERT_TRUE(attrs->HasKey("undeduped_cert_size"));
+ ASSERT_TRUE(attrs->HasKey("undeduped_cert_count"));
ASSERT_TRUE(attrs->HasKey(base::trace_event::MemoryAllocatorDump::kNameSize));
}
« no previous file with comments | « net/ssl/ssl_client_session_cache.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698