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

Unified Diff: remoting/protocol/fake_authenticator.h

Issue 1277093006: Enable QUIC support in chromoting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quic_adapters
Patch Set: Created 5 years, 4 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: remoting/protocol/fake_authenticator.h
diff --git a/remoting/protocol/fake_authenticator.h b/remoting/protocol/fake_authenticator.h
index 3975b8a89781042d3906a9ae75b1b9191092f5f2..6c153df0bb1f71f8beff56c6686042b9b5a42a4e 100644
--- a/remoting/protocol/fake_authenticator.h
+++ b/remoting/protocol/fake_authenticator.h
@@ -70,6 +70,7 @@ class FakeAuthenticator : public Authenticator {
void ProcessMessage(const buzz::XmlElement* message,
const base::Closure& resume_callback) override;
scoped_ptr<buzz::XmlElement> GetNextMessage() override;
+ const std::string& GetAuthKey() const override;
scoped_ptr<ChannelAuthenticator> CreateChannelAuthenticator() const override;
protected:
@@ -84,6 +85,8 @@ class FakeAuthenticator : public Authenticator {
// returns true. Default to 0.
int messages_till_started_;
+ std::string auth_key_;
+
DISALLOW_COPY_AND_ASSIGN(FakeAuthenticator);
};

Powered by Google App Engine
This is Rietveld 408576698