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

Unified Diff: remoting/host/register_support_host_request.h

Issue 12316083: Move HostKeyPair into protocol::KeyPair. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 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
« no previous file with comments | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/register_support_host_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/register_support_host_request.h
diff --git a/remoting/host/register_support_host_request.h b/remoting/host/register_support_host_request.h
index fd9758c8553c2a19eb6cc22fb147f44ae274dc57..ab4d649faa72b0a5d10f50e584faa29df65873d6 100644
--- a/remoting/host/register_support_host_request.h
+++ b/remoting/host/register_support_host_request.h
@@ -10,8 +10,8 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "remoting/base/rsa_key_pair.h"
#include "remoting/jingle_glue/signal_strategy.h"
-#include "remoting/host/host_key_pair.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
class MessageLoop;
@@ -49,7 +49,7 @@ class RegisterSupportHostRequest : public SignalStrategy::Listener {
// TODO(sergeyu): This class should have timeout for the bot
// response.
RegisterSupportHostRequest(SignalStrategy* signal_strategy,
- HostKeyPair* key_pair,
+ scoped_refptr<RsaKeyPair> key_pair,
const std::string& directory_bot_jid,
const RegisterCallback& callback);
virtual ~RegisterSupportHostRequest();
@@ -75,7 +75,7 @@ class RegisterSupportHostRequest : public SignalStrategy::Listener {
bool success, const std::string& support_id, base::TimeDelta lifetime);
SignalStrategy* signal_strategy_;
- HostKeyPair* key_pair_;
+ scoped_refptr<RsaKeyPair> key_pair_;
std::string directory_bot_jid_;
RegisterCallback callback_;
« no previous file with comments | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/register_support_host_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698