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

Unified Diff: net/http/disk_based_cert_cache_unittest.cc

Issue 1230113012: [net] Better StopCaching() handling for HttpCache::Transaction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing MockTransaction initializers Created 5 years, 3 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 | « no previous file | net/http/http_cache.h » ('j') | net/http/http_cache_transaction.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/disk_based_cert_cache_unittest.cc
diff --git a/net/http/disk_based_cert_cache_unittest.cc b/net/http/disk_based_cert_cache_unittest.cc
index b2b640b300e6abf6a1623887a7e0c287e56ecc3c..e2c17c33c0839b64e0f347a4fd2284ffbcb067c5 100644
--- a/net/http/disk_based_cert_cache_unittest.cc
+++ b/net/http/disk_based_cert_cache_unittest.cc
@@ -44,9 +44,9 @@ const TestCertMetaData kCert2 = {
// are irrelevant. Only one MockTransaction per certificate can be used
// at a time.
MockTransaction CreateMockTransaction(const char* key, int test_mode) {
- MockTransaction transaction = {key, "", base::Time(), "", LOAD_NORMAL,
- "", "", base::Time(), "", test_mode,
- NULL, 0, OK};
+ MockTransaction transaction = {
+ key, "", base::Time(), "", LOAD_NORMAL, "", "",
+ base::Time(), "", test_mode, nullptr, nullptr, 0, OK};
return transaction;
}
« no previous file with comments | « no previous file | net/http/http_cache.h » ('j') | net/http/http_cache_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698