Searched defs:account_id (Results 26 - 50 of 119) sorted by last modified time

12345

/external/chromium_org/components/gcm_driver/
H A Dgcm_client.h146 std::string account_id; member in struct:gcm::GCMClient::AccountTokenInfo
294 // Removes the account mapping related to |account_id| from the persistent
296 virtual void RemoveAccountMapping(const std::string& account_id) = 0;
H A Dgcm_client_impl.cc450 void GCMClientImpl::RemoveAccountMapping(const std::string& account_id) { argument
452 account_id,
H A Dgcm_driver_android.cc146 void GCMDriverAndroid::RemoveAccountMapping(const std::string& account_id) { argument
H A Dgcm_driver_desktop.cc82 void RemoveAccountMapping(const std::string& account_id);
327 const std::string& account_id) {
331 gcm_client_->RemoveAccountMapping(account_id);
614 void GCMDriverDesktop::RemoveAccountMapping(const std::string& account_id) { argument
621 account_id));
326 RemoveAccountMapping( const std::string& account_id) argument
H A Dgcm_driver_desktop_unittest.cc133 void SignIn(const std::string& account_id);
272 void GCMDriverTest::SignIn(const std::string& account_id) { argument
/external/chromium_org/components/invalidation/
H A Dticl_invalidation_service.cc194 const std::string& account_id = identity_provider_->GetActiveAccountId(); local
196 token_service->InvalidateToken(account_id, oauth2_scopes, access_token_);
199 token_service->StartRequest(account_id, oauth2_scopes, this);
249 const std::string& account_id) {
255 const std::string& account_id) {
248 OnRefreshTokenAvailable( const std::string& account_id) argument
254 OnRefreshTokenRevoked( const std::string& account_id) argument
/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 Dabout_signin_internals.cc235 const std::string& account_id,
238 TokenInfo* token = signin_status_.FindToken(account_id, consumer_id, scopes);
243 signin_status_.token_info_map[account_id].push_back(token);
250 const std::string& account_id,
255 TokenInfo* token = signin_status_.FindToken(account_id, consumer_id, scopes);
257 DVLOG(1) << "Can't find token: " << account_id << ", " << consumer_id;
269 const std::string& account_id,
271 for (size_t i = 0; i < signin_status_.token_info_map[account_id].size();
273 TokenInfo* token = signin_status_.token_info_map[account_id][i];
419 const std::string& account_id,
234 OnAccessTokenRequested( const std::string& account_id, const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes) argument
249 OnFetchAccessTokenComplete( const std::string& account_id, const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes, GoogleServiceAuthError error, base::Time expiration_time) argument
268 OnTokenRemoved( const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes) argument
418 FindToken( const std::string& account_id, const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes) argument
[all...]
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_service_flag_fetcher.cc12 const std::string& account_id,
17 account_id_(account_id),
42 const std::string& account_id) {
44 if (account_id != account_id_)
11 AccountServiceFlagFetcher( const std::string& account_id, ProfileOAuth2TokenService* token_service, net::URLRequestContextGetter* request_context, const ResultCallback& callback) argument
41 OnRefreshTokenAvailable( const std::string& account_id) argument
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.h35 std::string account_id; // The account ID used by OAuth2TokenService. member in struct:AccountTrackerService::AccountInfo
74 AccountInfo GetAccountInfo(const std::string& account_id);
94 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE;
95 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE;
104 void StartTrackingAccount(const std::string& account_id);
105 void StopTrackingAccount(const std::string& account_id);
108 virtual void StartFetchingUserInfo(const std::string& account_id);
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...]
H A Dfake_auth_status_provider.cc29 void FakeAuthStatusProvider::SetAuthError(const std::string& account_id, argument
32 account_id_ = account_id;
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 Dprofile_oauth2_token_service.cc41 const std::string& account_id,
57 const std::string& account_id,
40 UpdateAuthError( const std::string& account_id, const GoogleServiceAuthError& error) argument
56 UpdateCredentials( const std::string& account_id, const std::string& refresh_token) argument
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_client.h81 virtual void GoogleSigninSucceeded(const std::string& account_id, argument
H A Dsignin_error_controller.cc64 std::string account_id = (*it)->GetAccountId(); local
68 if (error.state() == prev_state && account_id == prev_account_id) {
70 error_account_id_ = account_id;
80 error_account_id_ = account_id;
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 Dsignin_manager_base.h51 virtual void GoogleSigninSucceeded(const std::string& account_id, argument
56 virtual void GoogleSignedOut(const std::string& account_id, argument
H A Dsignin_tracker.cc49 void SigninTracker::OnRefreshTokenAvailable(const std::string& account_id) { argument
50 if (account_id != signin_manager_->GetAuthenticatedAccountId())
65 void SigninTracker::OnRefreshTokenRevoked(const std::string& account_id) { argument
70 const std::string& account_id,
69 MergeSessionCompleted( const std::string& account_id, const GoogleServiceAuthError& error) argument
/external/chromium_org/chromeos/dbus/
H A Dfake_session_manager_client.cc100 const std::string& account_id,
104 base::Bind(callback, device_local_account_policy_[account_id]));
124 const std::string& account_id,
127 device_local_account_policy_[account_id] = policy_blob;
164 const std::string& account_id) const {
166 device_local_account_policy_.find(account_id);
172 const std::string& account_id,
174 device_local_account_policy_[account_id] = policy_blob;
99 RetrieveDeviceLocalAccountPolicy( const std::string& account_id, const RetrievePolicyCallback& callback) argument
123 StoreDeviceLocalAccountPolicy( const std::string& account_id, const std::string& policy_blob, const StorePolicyCallback& callback) argument
171 set_device_local_account_policy( const std::string& account_id, const std::string& policy_blob) argument
/external/chromium_org/chrome/browser/metrics/
H A Dsignin_status_metrics_provider.cc129 const std::string& account_id,
142 void SigninStatusMetricsProvider::GoogleSignedOut(const std::string& account_id, argument
128 GoogleSigninSucceeded( const std::string& account_id, const std::string& username, const std::string& password) argument
/external/chromium_org/chrome/browser/policy/cloud/
H A Duser_policy_signin_service.cc109 const std::string& account_id) {
118 if (account_id != signin_manager()->GetAuthenticatedAccountId())
108 OnRefreshTokenAvailable( const std::string& account_id) argument

Completed in 346 milliseconds

12345