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

Side by Side Diff: chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h

Issue 2939443004: Load credentials on desktop even when there is no authenticated account ID. (Closed)
Patch Set: Unit test Created 3 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SIGNIN_MUTABLE_PROFILE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_MUTABLE_PROFILE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_
6 #define CHROME_BROWSER_SIGNIN_MUTABLE_PROFILE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ 6 #define CHROME_BROWSER_SIGNIN_MUTABLE_PROFILE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 std::string refresh_token_; 95 std::string refresh_token_;
96 GoogleServiceAuthError last_auth_error_; 96 GoogleServiceAuthError last_auth_error_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(AccountStatus); 98 DISALLOW_COPY_AND_ASSIGN(AccountStatus);
99 }; 99 };
100 100
101 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest, 101 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest,
102 PersistenceDBUpgrade); 102 PersistenceDBUpgrade);
103 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest, 103 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest,
104 FetchPersistentError); 104 FetchPersistentError);
105 FRIEND_TEST_ALL_PREFIXES(
106 MutableProfileOAuth2TokenServiceDelegateTest,
107 PersistenceLoadCredentialsEmptyPrimaryAccountId_DiceEnabled);
105 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest, 108 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest,
106 PersistenceLoadCredentials); 109 PersistenceLoadCredentials);
107 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest, 110 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest,
108 GetAccounts); 111 GetAccounts);
109 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest, 112 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest,
110 RetryBackoff); 113 RetryBackoff);
111 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest, 114 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest,
112 CanonicalizeAccountId); 115 CanonicalizeAccountId);
113 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest, 116 FRIEND_TEST_ALL_PREFIXES(MutableProfileOAuth2TokenServiceDelegateTest,
114 CanonAndNonCanonAccountId); 117 CanonAndNonCanonAccountId);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 GoogleServiceAuthError backoff_error_; 172 GoogleServiceAuthError backoff_error_;
170 173
171 SigninClient* client_; 174 SigninClient* client_;
172 SigninErrorController* signin_error_controller_; 175 SigninErrorController* signin_error_controller_;
173 AccountTrackerService* account_tracker_service_; 176 AccountTrackerService* account_tracker_service_;
174 177
175 DISALLOW_COPY_AND_ASSIGN(MutableProfileOAuth2TokenServiceDelegate); 178 DISALLOW_COPY_AND_ASSIGN(MutableProfileOAuth2TokenServiceDelegate);
176 }; 179 };
177 180
178 #endif // CHROME_BROWSER_SIGNIN_MUTABLE_PROFILE_OAUTH2_TOKEN_SERVICE_DELEGATE_H _ 181 #endif // CHROME_BROWSER_SIGNIN_MUTABLE_PROFILE_OAUTH2_TOKEN_SERVICE_DELEGATE_H _
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698