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

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

Issue 23678007: OAuth2LoginManager+MergeSessionThrottle hardening, multi-profle support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TEST_LOGIN_UTILS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 29 matching lines...) Expand all
40 40
41 virtual void SetFirstLoginPrefs(PrefService* prefs) OVERRIDE {} 41 virtual void SetFirstLoginPrefs(PrefService* prefs) OVERRIDE {}
42 42
43 virtual scoped_refptr<Authenticator> CreateAuthenticator( 43 virtual scoped_refptr<Authenticator> CreateAuthenticator(
44 LoginStatusConsumer* consumer) OVERRIDE; 44 LoginStatusConsumer* consumer) OVERRIDE;
45 45
46 virtual void RestoreAuthenticationSession(Profile* profile) OVERRIDE {} 46 virtual void RestoreAuthenticationSession(Profile* profile) OVERRIDE {}
47 47
48 virtual void InitRlzDelayed(Profile* user_profile) OVERRIDE; 48 virtual void InitRlzDelayed(Profile* user_profile) OVERRIDE;
49 49
50 virtual void StopBackgroundFetchers() OVERRIDE;
51
52 private: 50 private:
53 std::string expected_username_; 51 std::string expected_username_;
54 std::string expected_password_; 52 std::string expected_password_;
55 std::string auth_token_; 53 std::string auth_token_;
56 54
57 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils); 55 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils);
58 }; 56 };
59 57
60 } // namespace chromeos 58 } // namespace chromeos
61 59
62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ 60 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/oauth_login_manager.cc ('k') | chrome/browser/chromeos/login/test_login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698