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

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

Issue 7608002: Fix the clang bot. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/mock_authenticator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 virtual void ResyncEncryptedData( 61 virtual void ResyncEncryptedData(
62 const GaiaAuthConsumer::ClientLoginResult& credentials) {} 62 const GaiaAuthConsumer::ClientLoginResult& credentials) {}
63 63
64 virtual void RetryAuth(Profile* profile, 64 virtual void RetryAuth(Profile* profile,
65 const std::string& username, 65 const std::string& username,
66 const std::string& password, 66 const std::string& password,
67 const std::string& login_token, 67 const std::string& login_token,
68 const std::string& login_captcha) {} 68 const std::string& login_captcha) {}
69 69
70 virtual std::string EncryptToken(const std::string& token) { 70 virtual std::string EncryptToken(const std::string& token);
71 return std::string();
72 }
73 71
74 virtual std::string DecryptToken(const std::string& encrypted_token) { 72 virtual std::string DecryptToken(const std::string& encrypted_token);
75 return std::string();
76 }
77 73
78 virtual void VerifyOAuth1AccessToken(const std::string& oauth1_access_token, 74 virtual void VerifyOAuth1AccessToken(const std::string& oauth1_access_token,
79 const std::string& oauth1_secret) {} 75 const std::string& oauth1_secret) {}
80 76
81 private: 77 private:
82 std::string expected_username_; 78 std::string expected_username_;
83 std::string expected_password_; 79 std::string expected_password_;
84 80
85 DISALLOW_COPY_AND_ASSIGN(MockAuthenticator); 81 DISALLOW_COPY_AND_ASSIGN(MockAuthenticator);
86 }; 82 };
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 std::string expected_password_; 130 std::string expected_password_;
135 std::string auth_token_; 131 std::string auth_token_;
136 chromeos::BackgroundView* background_view_; 132 chromeos::BackgroundView* background_view_;
137 133
138 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); 134 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils);
139 }; 135 };
140 136
141 } // namespace chromeos 137 } // namespace chromeos
142 138
143 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 139 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/mock_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698