| Index: net/socket/ssl_client_socket_unittest.cc
|
| diff --git a/net/socket/ssl_client_socket_unittest.cc b/net/socket/ssl_client_socket_unittest.cc
|
| index a41903efe1b1620487d61e16821ad299ad41a158..d91d4e0433f5264c8ddce584d87923c85db136da 100644
|
| --- a/net/socket/ssl_client_socket_unittest.cc
|
| +++ b/net/socket/ssl_client_socket_unittest.cc
|
| @@ -619,17 +619,11 @@ class DeleteSocketCallback : public TestCompletionCallbackBase {
|
| // channel id.
|
| class FailingChannelIDStore : public ChannelIDStore {
|
| int GetChannelID(const std::string& server_identifier,
|
| - base::Time* expiration_time,
|
| - std::string* private_key_result,
|
| - std::string* cert_result,
|
| + scoped_ptr<crypto::ECPrivateKey>* key_result,
|
| const GetChannelIDCallback& callback) override {
|
| return ERR_UNEXPECTED;
|
| }
|
| - 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 {}
|
| + void SetChannelID(scoped_ptr<ChannelID> channel_id) override {}
|
| void DeleteChannelID(const std::string& server_identifier,
|
| const base::Closure& completion_callback) override {}
|
| void DeleteAllCreatedBetween(
|
| @@ -646,20 +640,15 @@ class FailingChannelIDStore : public ChannelIDStore {
|
| // channel id.
|
| class AsyncFailingChannelIDStore : public ChannelIDStore {
|
| int GetChannelID(const std::string& server_identifier,
|
| - base::Time* expiration_time,
|
| - std::string* private_key_result,
|
| - std::string* cert_result,
|
| + scoped_ptr<crypto::ECPrivateKey>* key_result,
|
| const GetChannelIDCallback& callback) override {
|
| base::MessageLoop::current()->PostTask(
|
| - FROM_HERE, base::Bind(callback, ERR_UNEXPECTED,
|
| - server_identifier, base::Time(), "", ""));
|
| + FROM_HERE,
|
| + base::Bind(callback, ERR_UNEXPECTED, server_identifier,
|
| + base::Passed(scoped_ptr<crypto::ECPrivateKey>())));
|
| return ERR_IO_PENDING;
|
| }
|
| - 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 {}
|
| + void SetChannelID(scoped_ptr<ChannelID> channel_id) override {}
|
| void DeleteChannelID(const std::string& server_identifier,
|
| const base::Closure& completion_callback) override {}
|
| void DeleteAllCreatedBetween(
|
|
|