Searched defs:account_id (Results 51 - 75 of 119) sorted by relevance

12345

/external/chromium_org/google_apis/gaia/
H A Doauth2_token_service.h93 // account |account_id|. Once available, access tokens can be retrieved for
96 virtual void OnRefreshTokenAvailable(const std::string& account_id) {} argument
98 // account |account_id|.
99 virtual void OnRefreshTokenRevoked(const std::string& account_id) {} argument
118 virtual void OnAccessTokenRequested(const std::string& account_id,
124 virtual void OnFetchAccessTokenComplete(const std::string& account_id,
129 virtual void OnTokenRemoved(const std::string& account_id,
144 // Checks in the cache for a valid access token for a specified |account_id|
147 // |account_id|. The caller owns the returned Request.
151 scoped_ptr<Request> StartRequest(const std::string& account_id,
324 std::string account_id; member in struct:OAuth2TokenService::RequestParameters
[all...]
H A Doauth2_token_service_unittest.cc27 const std::string& account_id)
29 account_id_(account_id) {}
52 void CancelRequestsForAccountForTest(const std::string& account_id) { argument
53 CancelRequestsForAccount(account_id);
57 void set_refresh_token(const std::string& account_id, argument
60 refresh_tokens_.erase(account_id);
62 refresh_tokens_[account_id] = refresh_token;
65 virtual bool RefreshTokenIsAvailable(const std::string& account_id) const
68 refresh_tokens_.find(account_id);
80 const std::string& account_id,
25 RetryingTestingOAuth2TokenServiceConsumer( OAuth2TokenService* oauth2_service, const std::string& account_id) argument
[all...]
/external/chromium_org/sync/internal_api/attachments/
H A Dattachment_downloader_impl.cc42 const std::string& account_id,
49 account_id_(account_id),
52 DCHECK(!account_id.empty());
38 AttachmentDownloaderImpl( 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/ash/system/user/
H A Daccounts_detailed_view.cc206 const std::string& account_id = secondary_accounts[i]; local
208 base::ASCIIToUTF16(delegate_->GetAccountDisplayName(account_id)));
212 delete_button_to_account_id_[delete_button] = account_id;
/external/chromium_org/chrome/browser/android/signin/
H A Dsignin_manager_android.cc226 const std::string& account_id,
225 MergeSessionCompleted( const std::string& account_id, const GoogleServiceAuthError& error) argument
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dstartup_app_launcher.cc233 const std::string& account_id) {
232 OnRefreshTokenAvailable( const std::string& account_id) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dcloud_external_data_policy_observer_unittest.cc117 void SetDeviceLocalAccountAvatarPolicy(const std::string& account_id,
120 void AddDeviceLocalAccount(const std::string& account_id);
121 void RemoveDeviceLocalAccount(const std::string& account_id);
259 const std::string& account_id,
264 builder.policy_data().set_settings_entity_id(account_id);
265 builder.policy_data().set_username(account_id);
270 account_id,
275 const std::string& account_id) {
278 account->set_account_id(account_id);
287 const std::string& account_id) {
258 SetDeviceLocalAccountAvatarPolicy( const std::string& account_id, const std::string& value) argument
274 AddDeviceLocalAccount( const std::string& account_id) argument
286 RemoveDeviceLocalAccount( const std::string& account_id) argument
[all...]
H A Ddevice_local_account_policy_service.h71 // For the difference between |account_id| and |user_id|, see the
73 const std::string& account_id() const { return account_id_; } function in class:policy::DeviceLocalAccountPolicyBroker
185 // cached for |account_id| is busy, either because a broker that was using
188 bool IsExtensionCacheDirectoryBusy(const std::string& account_id);
194 // Checks whether a broker exists for |account_id|. If so, starts the broker's
196 bool StartExtensionCacheForAccountIfPresent(const std::string& account_id);
202 // Called back when the extension cache for |account_id| has been shut down.
203 void OnObsoleteExtensionCacheShutdown(const std::string& account_id);
205 // Called back when the extension cache for |account_id| has been removed.
206 void OnObsoleteExtensionCacheDeleted(const std::string& account_id);
[all...]
H A Ddevice_local_account_policy_service_unittest.cc89 void InstallDeviceLocalAccountPolicy(const std::string& account_id);
90 void AddDeviceLocalAccountToPolicy(const std::string& account_id);
173 InstallDeviceLocalAccountPolicy(const std::string& account_id) { argument
174 device_local_account_policy_.policy_data().set_settings_entity_id(account_id);
175 device_local_account_policy_.policy_data().set_username(account_id);
178 account_id, device_local_account_policy_.GetBlob());
182 const std::string& account_id) {
185 account->set_account_id(account_id);
498 base::FilePath GetCacheDirectoryForAccountID(const std::string& account_id);
532 GetCacheDirectoryForAccountID(const std::string& account_id) { argument
181 AddDeviceLocalAccountToPolicy( const std::string& account_id) argument
[all...]
H A Duser_cloud_policy_manager_chromeos_unittest.cc551 const std::string& account_id = signin_manager->GetAuthenticatedAccountId(); local
552 EXPECT_FALSE(token_service->RefreshTokenIsAvailable(account_id));
553 token_service->UpdateCredentials(account_id, "refresh_token");
554 EXPECT_TRUE(token_service->RefreshTokenIsAvailable(account_id));
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_oauth2_token_service.cc90 const std::string& account_id) const {
99 return account_id == GetRobotAccountId();
146 const std::string& account_id) const {
173 const std::string& account_id,
198 request, account_id, getter, client_id, client_secret, scopes);
206 const std::string& account_id,
209 std::string refresh_token = GetRefreshToken(account_id);
171 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
205 CreateAccessTokenFetcher( const std::string& account_id, net::URLRequestContextGetter* getter, OAuth2AccessTokenConsumer* consumer) argument
H A Ddevice_oauth2_token_service_unittest.cc63 void SetRobotAccountId(const std::string& account_id) { argument
64 device_policy_.policy_data().set_service_account_identity(account_id);
H A Ddevice_settings_test_helper.cc143 const std::string& account_id,
145 device_local_account_policy_[account_id].retrieve_callbacks_.push_back(
163 const std::string& account_id,
166 device_local_account_policy_[account_id].policy_blob_ = policy_blob;
167 device_local_account_policy_[account_id].store_callbacks_.push_back(callback);
171 const std::string& account_id,
142 RetrieveDeviceLocalAccountPolicy( const std::string& account_id, const RetrievePolicyCallback& callback) argument
162 StoreDeviceLocalAccountPolicy( const std::string& account_id, const std::string& policy_blob, const StorePolicyCallback& callback) argument
170 SetFlagsForUser( const std::string& account_id, const std::vector<std::string>& flags) 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/signin/
H A Daccount_reconcilor_unittest.cc53 MOCK_METHOD1(PerformMergeAction, void(const std::string& account_id));
99 const std::string& account_id,
170 const std::string& account_id,
172 observer->MergeSessionCompleted(account_id, error);
168 SimulateMergeSessionCompleted( MergeSessionHelper::Observer* observer, const std::string& account_id, const GoogleServiceAuthError& error) argument
H A Dchrome_signin_client.cc207 void ChromeSigninClient::GoogleSigninSucceeded(const std::string& account_id, argument
H A Dfake_profile_oauth2_token_service.cc27 const std::string& account_id) const {
28 return !GetRefreshToken(account_id).empty();
47 const std::string& account_id,
49 IssueRefreshTokenForUser(account_id, refresh_token);
54 IssueRefreshTokenForUser("account_id", token);
58 const std::string& account_id,
62 refresh_tokens_.erase(account_id);
63 FireRefreshTokenRevoked(account_id);
65 refresh_tokens_[account_id] = token;
66 FireRefreshTokenAvailable(account_id);
46 UpdateCredentials( const std::string& account_id, const std::string& refresh_token) argument
57 IssueRefreshTokenForUser( const std::string& account_id, const std::string& token) argument
75 IssueAllTokensForAccount( const std::string& account_id, const std::string& access_token, const base::Time& expiration) argument
87 IssueErrorForAllPendingRequestsForAccount( const std::string& account_id, const GoogleServiceAuthError& error) argument
132 CompleteRequests( const std::string& account_id, bool all_scopes, const ScopeSet& scope, const GoogleServiceAuthError& error, const std::string& access_token, const base::Time& expiration) argument
180 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
206 CreateAccessTokenFetcher( const std::string& account_id, net::URLRequestContextGetter* getter, OAuth2AccessTokenConsumer* consumer) argument
214 InvalidateOAuth2Token( const std::string& account_id, const std::string& client_id, const ScopeSet& scopes, const std::string& access_token) argument
[all...]
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_refresh_token_fetcher.cc60 const std::string& account_id,
116 const std::string& account_id,
121 account_id_(account_id),
292 const std::string& account_id,
297 account_id,
114 SupervisedUserRefreshTokenFetcherImpl( OAuth2TokenService* oauth2_token_service, const std::string& account_id, const std::string& device_id, URLRequestContextGetter* context) argument
290 Create( OAuth2TokenService* oauth2_token_service, const std::string& account_id, const std::string& device_id, URLRequestContextGetter* context) argument
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dprofile_sync_service_harness.cc166 std::string account_id = profile_->IsSupervised() ? local
169 std::string account_id = username_; local
171 DCHECK(!account_id.empty());
173 UpdateCredentials(account_id, GenerateFakeOAuth2RefreshTokenString());
/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/components/gcm_driver/
H A Dfake_gcm_client.cc130 void FakeGCMClient::RemoveAccountMapping(const std::string& account_id) { argument
H A Dgcm_account_mapper.cc84 FindMappingByAccountId(token_iter->account_id);
88 new_mapping.account_id = token_iter->account_id;
175 gcm_driver_->RemoveAccountMapping(account_mapping_it->account_id);
200 gcm_driver_->RemoveAccountMapping(account_mapping_it->account_id);
265 account_mapping.account_id));
268 void GCMAccountMapper::OnSendFinished(const std::string& account_id, argument
275 AccountMapping* account_mapping = FindMappingByAccountId(account_id);
330 const std::string& account_id) {
334 if (iter->account_id
329 FindMappingByAccountId( const std::string& account_id) argument
[all...]
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_driver_android.cc146 void GCMDriverAndroid::RemoveAccountMapping(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

Completed in 311 milliseconds

12345