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

Side by Side Diff: chrome/browser/chromeos/login/mock_authenticator.cc

Issue 8332013: Removed legacy encoding mechanism that was temporarely used at one point while WebUI was still be... (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/mock_authenticator.h" 5 #include "chrome/browser/chromeos/login/mock_authenticator.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/browser/browser_thread.h" 8 #include "content/browser/browser_thread.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 std::string MockAuthenticator::EncryptToken(const std::string& token) { 63 std::string MockAuthenticator::EncryptToken(const std::string& token) {
64 return std::string(); 64 return std::string();
65 } 65 }
66 66
67 std::string MockAuthenticator::DecryptToken( 67 std::string MockAuthenticator::DecryptToken(
68 const std::string& encrypted_token) { 68 const std::string& encrypted_token) {
69 return std::string(); 69 return std::string();
70 } 70 }
71 71
72 std::string MockAuthenticator::DecryptLegacyToken(
73 const std::string& encrypted_token) {
74 return std::string();
75 }
76
77 //////////////////////////////////////////////////////////////////////////////// 72 ////////////////////////////////////////////////////////////////////////////////
78 // MockLoginUtils 73 // MockLoginUtils
79 74
80 MockLoginUtils::MockLoginUtils(const std::string& expected_username, 75 MockLoginUtils::MockLoginUtils(const std::string& expected_username,
81 const std::string& expected_password) 76 const std::string& expected_password)
82 : expected_username_(expected_username), 77 : expected_username_(expected_username),
83 expected_password_(expected_password) { 78 expected_password_(expected_password) {
84 } 79 }
85 80
86 MockLoginUtils::~MockLoginUtils() {} 81 MockLoginUtils::~MockLoginUtils() {}
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 124
130 void MockLoginUtils::TransferDefaultCookies(Profile* default_profile, 125 void MockLoginUtils::TransferDefaultCookies(Profile* default_profile,
131 Profile* new_profile) { 126 Profile* new_profile) {
132 } 127 }
133 128
134 void MockLoginUtils::TransferDefaultAuthCache(Profile* default_profile, 129 void MockLoginUtils::TransferDefaultAuthCache(Profile* default_profile,
135 Profile* new_profile) { 130 Profile* new_profile) {
136 } 131 }
137 132
138 } // namespace chromeos 133 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/mock_authenticator.h ('k') | chrome/browser/chromeos/login/parallel_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698