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

Unified Diff: net/base/origin_bound_cert_service_unittest.cc

Issue 9617039: Change Origin bound certs -> Domain bound certs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: explanitory comment 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 side-by-side diff with in-line comments
Download patch
Index: net/base/origin_bound_cert_service_unittest.cc
diff --git a/net/base/origin_bound_cert_service_unittest.cc b/net/base/origin_bound_cert_service_unittest.cc
index f658659ab12698cf8fa606a62df7a94392588792..2ccf9a312b7a1303dbcfc8a7e662a4685fae9800 100644
--- a/net/base/origin_bound_cert_service_unittest.cc
+++ b/net/base/origin_bound_cert_service_unittest.cc
@@ -341,7 +341,7 @@ TEST(OriginBoundCertServiceTest, CancelRequest) {
TestCompletionCallback callback;
for (int i = 0; i < 5; ++i) {
error = service->GetOriginBoundCert(
- "https://encrypted.google.com:" + std::string(1, (char) ('1' + i)),
+ "https://foo" + std::string(1, (char) ('1' + i)),
types,
&type,
&private_key_info,
@@ -361,13 +361,13 @@ TEST(OriginBoundCertServiceTest, CancelRequest) {
TEST(OriginBoundCertServiceTest, Expiration) {
OriginBoundCertStore* store = new DefaultOriginBoundCertStore(NULL);
base::Time now = base::Time::Now();
- store->SetOriginBoundCert("https://good",
+ store->SetOriginBoundCert("good",
CLIENT_CERT_ECDSA_SIGN,
now,
now + base::TimeDelta::FromDays(1),
"a",
"b");
- store->SetOriginBoundCert("https://expired",
+ store->SetOriginBoundCert("expired",
CLIENT_CERT_ECDSA_SIGN,
now - base::TimeDelta::FromDays(2),
now - base::TimeDelta::FromDays(1),

Powered by Google App Engine
This is Rietveld 408576698