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

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

Issue 11649055: OAuth2 sign-in flow for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 virtual scoped_refptr<Authenticator> CreateAuthenticator( 44 virtual scoped_refptr<Authenticator> CreateAuthenticator(
45 LoginStatusConsumer* consumer) OVERRIDE; 45 LoginStatusConsumer* consumer) OVERRIDE;
46 46
47 virtual void PrewarmAuthentication() OVERRIDE {} 47 virtual void PrewarmAuthentication() OVERRIDE {}
48 48
49 virtual void RestoreAuthenticationSession(Profile* profile) OVERRIDE {} 49 virtual void RestoreAuthenticationSession(Profile* profile) OVERRIDE {}
50 50
51 virtual void StartTokenServices(Profile* profile) OVERRIDE {} 51 virtual void StartTokenServices(Profile* profile) OVERRIDE {}
52 52
53 virtual void StartSignedInServices(
54 Profile* profile,
55 const GaiaAuthConsumer::ClientLoginResult& credentials) OVERRIDE {}
56
57 virtual std::string GetOffTheRecordCommandLine( 53 virtual std::string GetOffTheRecordCommandLine(
58 const GURL& start_url, 54 const GURL& start_url,
59 const CommandLine& base_command_line, 55 const CommandLine& base_command_line,
60 CommandLine* command_line) OVERRIDE; 56 CommandLine* command_line) OVERRIDE;
61 57
62 virtual void InitRlzDelayed(Profile* user_profile) OVERRIDE; 58 virtual void InitRlzDelayed(Profile* user_profile) OVERRIDE;
63 59
64 virtual void StopBackgroundFetchers() OVERRIDE; 60 virtual void StopBackgroundFetchers() OVERRIDE;
65 61
66 private: 62 private:
67 std::string expected_username_; 63 std::string expected_username_;
68 std::string expected_password_; 64 std::string expected_password_;
69 std::string auth_token_; 65 std::string auth_token_;
70 66
71 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils); 67 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils);
72 }; 68 };
73 69
74 } // namespace chromeos 70 } // namespace chromeos
75 71
76 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ 72 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698