OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |