Searched defs:account_id (Results 76 - 100 of 119) sorted by relevance

12345

/external/chromium_org/components/policy/core/common/cloud/
H A Dcloud_policy_client_registration_helper.cc62 const std::string& account_id,
67 DCHECK(!account_id.empty());
68 DCHECK(token_service->RefreshTokenIsAvailable(account_id));
75 token_request_ = token_service->StartRequest(account_id, scopes, this);
172 const std::string& account_id,
182 account_id,
60 FetchAccessToken( OAuth2TokenService* token_service, const std::string& account_id, const StringCallback& callback) argument
170 StartRegistration( OAuth2TokenService* token_service, const std::string& account_id, const base::Closure& callback) argument
/external/chromium_org/components/signin/core/browser/
H A Dmutable_profile_oauth2_token_service.cc22 std::string ApplyAccountIdPrefix(const std::string& account_id) { argument
23 return kAccountIdPrefix + account_id;
30 bool IsLegacyServiceId(const std::string& account_id) { argument
31 return account_id.compare(0u, kAccountIdPrefixLength, kAccountIdPrefix) != 0;
47 const std::string& account_id);
85 const std::string& account_id,
88 account_id_(account_id),
115 // TODO(rogerta): when |account_id| becomes the obfuscated gaia id, this
143 const std::string& account_id) const {
144 return !GetRefreshToken(account_id)
83 AccountInfo( ProfileOAuth2TokenService* token_service, const std::string& account_id, const std::string& refresh_token) argument
156 CreateAccessTokenFetcher( const std::string& account_id, net::URLRequestContextGetter* getter, OAuth2AccessTokenConsumer* consumer) argument
245 std::string account_id = RemoveAccountIdPrefix(prefixed_account_id); local
263 UpdateAuthError( const std::string& account_id, const GoogleServiceAuthError& error) argument
292 UpdateCredentials( const std::string& account_id, const std::string& refresh_token) argument
330 RevokeCredentials( const std::string& account_id) argument
345 PersistCredentials( const std::string& account_id, const std::string& refresh_token) argument
355 ClearPersistedCredentials( const std::string& account_id) argument
[all...]
H A Dsignin_account_id_helper.cc132 void SigninAccountIdHelper::GoogleSignedOut(const std::string& account_id, argument
138 const std::string& account_id) {
139 if (account_id == signin_manager_->GetAuthenticatedAccountId()) {
137 OnRefreshTokenAvailable( const std::string& account_id) argument
H A Dsignin_manager.cc85 const std::string& account_id = GetAuthenticatedUsername(); local
86 if (token_service_ && !account_id.empty())
87 token_service_->LoadCredentials(account_id);
204 const std::string account_id = GetAuthenticatedAccountId(); local
233 GoogleSignedOut(account_id, username));
H A Daccount_reconcilor.cc184 void AccountReconcilor::GoogleSigninSucceeded(const std::string& account_id, argument
192 void AccountReconcilor::GoogleSignedOut(const std::string& account_id, argument
203 void AccountReconcilor::PerformMergeAction(const std::string& account_id) { argument
205 MarkAccountAsAddedToCookie(account_id);
208 VLOG(1) << "AccountReconcilor::PerformMergeAction: " << account_id;
209 merge_session_helper_.LogIn(account_id);
468 const std::string& account_id) {
472 if (account_id == *i) {
481 const std::string& account_id,
483 VLOG(1) << "AccountReconcilor::MergeSessionCompleted: account_id
467 MarkAccountAsAddedToCookie( const std::string& account_id) argument
480 MergeSessionCompleted( const std::string& account_id, const GoogleServiceAuthError& error) argument
[all...]
H A Daccount_tracker_service.cc21 const char kAccountKeyPath[] = "account_id";
33 const std::string& account_id);
36 const std::string& account_id() { return account_id_; } function in class:AccountInfoFetcher
67 const std::string& account_id)
72 account_id_(account_id) {
75 "account_id", account_id);
124 "account_id",
209 const std::string& account_id) {
210 if (ContainsKey(accounts_, account_id))
63 AccountInfoFetcher( OAuth2TokenService* token_service, net::URLRequestContextGetter* request_context_getter, AccountTrackerService* service, const std::string& account_id) argument
208 GetAccountInfo( const std::string& account_id) argument
258 OnRefreshTokenAvailable( const std::string& account_id) argument
273 OnRefreshTokenRevoked( const std::string& account_id) argument
296 StartTrackingAccount( const std::string& account_id) argument
306 StopTrackingAccount(const std::string& account_id) argument
321 StartFetchingUserInfo( const std::string& account_id) argument
339 const std::string& account_id = fetcher->account_id(); local
365 const std::string& account_id = fetcher->account_id(); local
379 std::string account_id = base::UTF16ToUTF8(value); local
[all...]
H A Daccount_tracker_service_unittest.cc28 std::string AccountIdToEmail(const std::string account_id) { argument
29 return account_id + "@gmail.com";
32 std::string AccountIdToGaiaId(const std::string account_id) { argument
33 return "gaia-" + account_id;
39 const std::string& account_id,
42 account_id_(account_id),
46 const std::string& account_id)
48 account_id_(account_id),
49 gaia_id_(AccountIdToGaiaId(account_id)) {}
66 return base::StringPrintf("{ type: %s, account_id
38 TrackingEvent(TrackingEventType type, const std::string& account_id, const std::string& gaia_id) argument
45 TrackingEvent(TrackingEventType type, const std::string& account_id) argument
217 SimulateTokenAvailable(const std::string& account_id) argument
221 SimulateTokenRevoked(const std::string& account_id) argument
226 IssueAccessToken(const std::string& account_id) argument
231 GenerateValidTokenInfoResponse(const std::string& account_id) argument
273 ReturnOAuthUrlFetchSuccess( const std::string& account_id) argument
281 ReturnOAuthUrlFetchFailure( const std::string& account_id) argument
[all...]
/external/chromium_org/google_apis/drive/
H A Dauth_service.cc40 const std::string& account_id,
63 const std::string& account_id,
72 account_id,
121 const std::string& account_id,
125 account_id_(account_id),
213 void AuthService::OnRefreshTokenAvailable(const std::string& account_id) { argument
214 if (account_id == account_id_)
218 void AuthService::OnRefreshTokenRevoked(const std::string& account_id) { argument
219 if (account_id == account_id_)
61 AuthRequest( OAuth2TokenService* oauth2_token_service, const std::string& account_id, net::URLRequestContextGetter* url_request_context_getter, const AuthStatusCallback& callback, const std::vector<std::string>& scopes) argument
119 AuthService( OAuth2TokenService* oauth2_token_service, const std::string& account_id, net::URLRequestContextGetter* url_request_context_getter, const std::vector<std::string>& scopes) argument
/external/chromium_org/google_apis/gaia/
H A Daccount_tracker.cc86 void AccountTracker::OnRefreshTokenAvailable(const std::string& account_id) { argument
90 account_id);
96 DVLOG(1) << "AVAILABLE " << account_id;
97 UpdateSignInState(account_id, true);
100 void AccountTracker::OnRefreshTokenRevoked(const std::string& account_id) { argument
104 account_id);
106 DVLOG(1) << "REVOKED " << account_id;
107 UpdateSignInState(account_id, false);
H A Dmerge_session_helper.cc168 void MergeSessionHelper::LogIn(const std::string& account_id) { argument
169 DCHECK(!account_id.empty());
170 VLOG(1) << "MergeSessionHelper::LogIn: " << account_id;
171 accounts_.push_back(account_id);
192 const std::string& account_id,
194 DCHECK(!account_id.empty());
195 VLOG(1) << "MergeSessionHelper::LogOut: " << account_id
197 LogOutInternal(account_id, accounts);
201 const std::string& account_id,
210 *it == account_id)) {
191 LogOut( const std::string& account_id, const std::vector<std::string>& accounts) argument
200 LogOutInternal( const std::string& account_id, const std::vector<std::string>& accounts) argument
244 SignalComplete( const std::string& account_id, const GoogleServiceAuthError& error) argument
290 const std::string account_id = accounts_.front(); local
297 const std::string account_id = accounts_.front(); local
307 const std::string account_id = accounts_.front(); local
[all...]
H A Doauth2_token_service_request.cc162 const std::string& account_id,
203 const std::string& account_id,
209 account_id_(account_id),
275 const std::string& account_id,
300 const std::string& account_id,
304 account_id_(account_id),
329 const std::string& account_id,
333 new OAuth2TokenServiceRequest(account_id));
335 new RequestCore(request.get(), provider, consumer, account_id, scopes));
343 const std::string& account_id,
198 RequestCore( OAuth2TokenServiceRequest* owner, const scoped_refptr<OAuth2TokenServiceRequest::TokenServiceProvider>& provider, OAuth2TokenService::Consumer* consumer, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes) argument
295 InvalidateCore( OAuth2TokenServiceRequest* owner, const scoped_refptr<OAuth2TokenServiceRequest::TokenServiceProvider>& provider, const std::string& access_token, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes) argument
327 CreateAndStart( const scoped_refptr<TokenServiceProvider>& provider, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService::Consumer* consumer) argument
341 InvalidateToken( const scoped_refptr<TokenServiceProvider>& provider, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes, const std::string& access_token) argument
361 OAuth2TokenServiceRequest( const std::string& account_id) argument
[all...]
H A Doauth2_token_service_request_unittest.cc84 const std::string& account_id,
90 virtual void InvalidateOAuth2Token(const std::string& account_id,
123 const std::string& account_id,
138 const std::string& account_id,
121 FetchOAuth2Token( RequestImpl* request, const std::string& account_id, net::URLRequestContextGetter* getter, const std::string& client_id, const std::string& client_secret, const ScopeSet& scopes) argument
137 InvalidateOAuth2Token( const std::string& account_id, const std::string& client_id, const ScopeSet& scopes, const std::string& access_token) argument
/external/chromium_org/sync/internal_api/attachments/
H A Dattachment_downloader_impl_unittest.cc43 const std::string& account_id,
49 virtual void InvalidateOAuth2Token(const std::string& account_id,
79 const std::string& account_id,
90 const std::string& account_id,
77 FetchOAuth2Token( RequestImpl* request, const std::string& account_id, net::URLRequestContextGetter* getter, const std::string& client_id, const std::string& client_secret, const ScopeSet& scopes) argument
89 InvalidateOAuth2Token( const std::string& account_id, const std::string& client_id, const ScopeSet& scopes, const std::string& access_token) argument
H A Dattachment_uploader_impl.cc47 const std::string& account_id,
110 const std::string& account_id,
120 account_id_(account_id),
257 const std::string& account_id,
263 account_id_(account_id),
268 DCHECK(!account_id.empty());
104 UploadState( const GURL& upload_url, const scoped_refptr<net::URLRequestContextGetter>& url_request_context_getter, const Attachment& attachment, const UploadCallback& user_callback, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenServiceRequest::TokenServiceProvider* token_service_provider, const base::WeakPtr<AttachmentUploaderImpl>& owner) argument
253 AttachmentUploaderImpl( const GURL& sync_service_url, const scoped_refptr<net::URLRequestContextGetter>& url_request_context_getter, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes, const scoped_refptr<OAuth2TokenServiceRequest::TokenServiceProvider>& token_service_provider) argument
/external/chromium_org/chrome/browser/chromeos/login/signin/
H A Doauth2_login_manager.cc132 const std::string& account_id) {
139 // sure to restore session cookies in the context of the correct account_id.
148 if (GetPrimaryAccountId() == account_id) {
151 account_id, user_manager::User::OAUTH2_TOKEN_STATUS_VALID);
131 OnRefreshTokenAvailable( const std::string& account_id) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Ddevice_local_account_policy_service.cc82 // policy cache used for |account_id|.
83 std::string GetCacheSubdirectoryForAccountID(const std::string& account_id) { argument
84 return base::HexEncode(account_id.c_str(), account_id.size());
126 : account_id_(account.account_id),
133 store_->account_id()),
143 GetCacheSubdirectoryForAccountID(account.account_id)));
326 const std::string& account_id) {
327 return busy_extension_cache_directories_.find(account_id) !=
335 !IsExtensionCacheDirectoryBusy(it->second->account_id())) {
325 IsExtensionCacheDirectoryBusy( const std::string& account_id) argument
341 StartExtensionCacheForAccountIfPresent( const std::string& account_id) argument
361 OnObsoleteExtensionCacheShutdown( const std::string& account_id) argument
389 OnObsoleteExtensionCacheDeleted( const std::string& account_id) argument
[all...]
H A Dconsumer_management_service.cc283 const std::string& account_id) {
286 if (account_id == GetAccountIdFromProfile(enrolling_profile_)) {
392 const std::string& account_id = GetAccountIdFromProfile(profile); local
395 if (token_service->RefreshTokenIsAvailable(account_id)) {
409 const std::string& account_id = GetAccountIdFromProfile(enrolling_profile_); local
411 enrolling_profile_)->StartRequest(account_id, oauth_scopes, this);
282 OnRefreshTokenAvailable( const std::string& account_id) argument
/external/chromium_org/chrome/browser/drive/
H A Ddummy_drive_service.cc31 void DummyDriveService::Initialize(const std::string& account_id) {} argument
H A Ddrive_api_service.cc195 void DriveAPIService::Initialize(const std::string& account_id) { argument
210 account_id,
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
H A Dpush_messaging_api.cc159 const std::string& account_id) {
158 OnRefreshTokenAvailable( const std::string& account_id) argument
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_downloader.cc223 void ProfileDownloader::StartForAccount(const std::string& account_id) { argument
241 account_id.empty() ?
242 signin_manager->GetAuthenticatedAccountId() : account_id;
399 void ProfileDownloader::OnRefreshTokenAvailable(const std::string& account_id) { argument
403 if (account_id != account_id_)
/external/chromium_org/chrome/browser/signin/
H A Dandroid_profile_oauth2_token_service.cc40 const std::string& account_id);
66 const std::string& account_id)
69 account_id_(account_id),
173 const std::string& account_id) const {
176 ConvertUTF8ToJavaString(env, account_id);
185 const std::string& account_id,
217 const std::string& account_id,
220 DCHECK(!account_id.empty());
221 return new AndroidAccessTokenFetcher(consumer, account_id);
225 const std::string& account_id,
64 AndroidAccessTokenFetcher( OAuth2AccessTokenConsumer* consumer, const std::string& account_id) argument
184 UpdateAuthError( const std::string& account_id, const GoogleServiceAuthError& error) argument
216 CreateAccessTokenFetcher( const std::string& account_id, net::URLRequestContextGetter* getter, OAuth2AccessTokenConsumer* consumer) argument
224 InvalidateOAuth2Token( const std::string& account_id, const std::string& client_id, const ScopeSet& scopes, const std::string& access_token) argument
364 std::string account_id = ConvertJavaStringToUTF8(env, account_name); local
368 FireRefreshTokenAvailable( const std::string& account_id) argument
387 std::string account_id = ConvertJavaStringToUTF8(env, account_name); local
391 FireRefreshTokenRevoked( const std::string& account_id) argument
[all...]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Ddrive_service_on_worker.cc237 void DriveServiceOnWorker::Initialize(const std::string& account_id) { argument
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Dprivate_api_drive.cc1006 const std::string& account_id = signin_manager->GetAuthenticatedAccountId(); local
1012 account_id,
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_settings_provider.cc174 kAccountsPrefDeviceLocalAccountsKeyId, entry->account_id());
593 std::string account_id; local
595 kAccountsPrefDeviceLocalAccountsKeyId, &account_id)) {
596 account->set_account_id(account_id);

Completed in 4121 milliseconds

12345