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

Unified Diff: remoting/host/support_access_verifier.cc

Issue 8662001: Remove AccessVerifier interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/host/support_access_verifier.cc
diff --git a/remoting/host/support_access_verifier.cc b/remoting/host/support_access_verifier.cc
index ab2238edbbe5e2b54e9ce3318f95ffe3fa3cc611..db7c537c7956399c67f770ed9c4c5560f02f833a 100644
--- a/remoting/host/support_access_verifier.cc
+++ b/remoting/host/support_access_verifier.cc
@@ -48,13 +48,10 @@ SupportAccessVerifier::SupportAccessVerifier() {
SupportAccessVerifier::~SupportAccessVerifier() { }
bool SupportAccessVerifier::VerifyPermissions(
- const std::string& client_jid,
- const std::string& encoded_access_token) {
+ const std::string& client_jid) {
if (support_id_.empty())
return false;
- std::string access_code = support_id_ + host_secret_;
- return protocol::VerifySupportAuthToken(
- client_jid, access_code, encoded_access_token);
+ return true;
}
void SupportAccessVerifier::OnIT2MeHostRegistered(

Powered by Google App Engine
This is Rietveld 408576698