Chromium Code Reviews| Index: chrome/browser/net/sqlite_origin_bound_cert_store.cc |
| diff --git a/chrome/browser/net/sqlite_origin_bound_cert_store.cc b/chrome/browser/net/sqlite_origin_bound_cert_store.cc |
| index 47bec7bfe5aa92e085c5c8e402953189c3b6c84f..86450738f36d4fa5d8d4dc5b25ef906fec10f599 100644 |
| --- a/chrome/browser/net/sqlite_origin_bound_cert_store.cc |
| +++ b/chrome/browser/net/sqlite_origin_bound_cert_store.cc |
| @@ -403,7 +403,7 @@ void SQLiteOriginBoundCertStore::Backend::Commit() { |
| switch (po->op()) { |
| case PendingOperation::CERT_ADD: { |
| add_smt.Reset(); |
| - add_smt.BindString(0, po->cert().origin()); |
| + add_smt.BindString(0, po->cert().domain()); |
| const std::string& private_key = po->cert().private_key(); |
| add_smt.BindBlob(1, private_key.data(), private_key.size()); |
| const std::string& cert = po->cert().cert(); |
| @@ -417,7 +417,7 @@ void SQLiteOriginBoundCertStore::Backend::Commit() { |
| } |
| case PendingOperation::CERT_DELETE: |
| del_smt.Reset(); |
| - del_smt.BindString(0, po->cert().origin()); |
| + del_smt.BindString(0, po->cert().domain()); |
| if (!del_smt.Run()) |
| NOTREACHED() << "Could not delete an origin bound cert from the DB."; |
|
Mike West
2012/03/07 10:31:47
"domain-bound cert"?
Honestly, this is confusing.
|
| break; |