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

Unified Diff: net/ssl/default_channel_id_store.h

Issue 1076063002: Remove certificates from Channel ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/ssl/default_channel_id_store.h
diff --git a/net/ssl/default_channel_id_store.h b/net/ssl/default_channel_id_store.h
index 9b986373226ebe3aa5f6554ffb7c560c810c796b..2d0f773eab613b20e9476a23b3c661d736f2d670 100644
--- a/net/ssl/default_channel_id_store.h
+++ b/net/ssl/default_channel_id_store.h
@@ -45,15 +45,13 @@ class NET_EXPORT DefaultChannelIDStore : public ChannelIDStore {
// ChannelIDStore implementation.
int GetChannelID(const std::string& server_identifier,
- base::Time* expiration_time,
std::string* private_key_result,
- std::string* cert_result,
+ std::string* public_key_result,
const GetChannelIDCallback& callback) override;
void SetChannelID(const std::string& server_identifier,
base::Time creation_time,
- base::Time expiration_time,
const std::string& private_key,
- const std::string& cert) override;
+ const std::string& public_key) override;
void DeleteChannelID(const std::string& server_identifier,
const base::Closure& callback) override;
void DeleteAllCreatedBetween(base::Time delete_begin,
@@ -100,12 +98,10 @@ class NET_EXPORT DefaultChannelIDStore : public ChannelIDStore {
// Syncronous methods which do the actual work. Can only be called after
// initialization is complete.
- void SyncSetChannelID(
- const std::string& server_identifier,
- base::Time creation_time,
- base::Time expiration_time,
- const std::string& private_key,
- const std::string& cert);
+ void SyncSetChannelID(const std::string& server_identifier,
+ base::Time creation_time,
+ const std::string& private_key,
+ const std::string& public_key);
void SyncDeleteChannelID(const std::string& server_identifier);
void SyncDeleteAllCreatedBetween(base::Time delete_begin,
base::Time delete_end);

Powered by Google App Engine
This is Rietveld 408576698