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

Unified Diff: chrome/browser/chromeos/login/mock_authenticator.h

Issue 7584026: Encrypted OAuth1 all access token and secret with system salt for now, will replace this with use... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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: chrome/browser/chromeos/login/mock_authenticator.h
===================================================================
--- chrome/browser/chromeos/login/mock_authenticator.h (revision 95968)
+++ chrome/browser/chromeos/login/mock_authenticator.h (working copy)
@@ -67,6 +67,14 @@
const std::string& login_token,
const std::string& login_captcha) {}
+ virtual std::string EncryptToken(const std::string& token) {
+ return std::string();
+ }
+
+ virtual std::string DecryptToken(const std::string& encrypted_token) {
+ return std::string();
+ }
+
virtual void VerifyOAuth1AccessToken(const std::string& oauth1_access_token,
const std::string& oauth1_secret) {}
@@ -104,6 +112,8 @@
Profile* profile,
const GaiaAuthConsumer::ClientLoginResult& credentials) {}
+ virtual void StartTokenServices(Profile* profile) {}
+
virtual void StartSync(
Profile* profile,
const GaiaAuthConsumer::ClientLoginResult& credentials) {}
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/parallel_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698