/external/chromium_org/chrome/browser/extensions/api/identity/ |
extension_token_key.cc | 10 const std::string& account_id, 12 : extension_id(extension_id), account_id(account_id), scopes(scopes) {} 22 if (account_id < rhs.account_id) 24 else if (rhs.account_id < account_id)
|
extension_token_key.h | 15 const std::string& account_id, 20 std::string account_id; member in struct:extensions::ExtensionTokenKey
|
identity_signin_flow.cc | 45 const std::string& account_id) { 47 GetPrimaryAccountId() == account_id) {
|
identity_signin_flow.h | 43 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE;
|
/external/chromium_org/chrome/browser/signin/ |
mutable_profile_oauth2_token_service.cc | 25 bool IsLegacyServiceId(const std::string& account_id) { 26 return account_id.compare(0u, kAccountIdPrefixLength, kAccountIdPrefix) != 0; 78 std::string account_id = GetPrimaryAccountId(); local 80 // If |account_id| is not empty, make sure that we have an entry in the 83 if (!account_id.empty() && refresh_tokens().count(account_id) == 0) { 84 refresh_tokens()[account_id].reset( 85 new AccountInfo(this, account_id, std::string())); 90 if (!account_id.empty() && !RefreshTokenIsAvailable(account_id)) { 119 std::string account_id = RemoveAccountIdPrefix(prefixed_account_id); local 128 std::string account_id = GetAccountIdForMigratingRefreshToken(); local [all...] |
profile_oauth2_token_service.cc | 33 std::string ApplyAccountIdPrefix(const std::string& account_id) { 34 return kAccountIdPrefix + account_id; 42 RevokeServerRefreshToken(const std::string& account_id, 78 const std::string& account_id, 81 account_id_(account_id), 140 const std::string& account_id) { 141 AccountInfoMap::const_iterator iter = refresh_tokens_.find(account_id); 152 const std::string& account_id, 165 if (refresh_tokens_.count(account_id) == 0) { 166 refresh_tokens_[account_id].reset [all...] |
fake_auth_status_provider.cc | 25 void FakeAuthStatusProvider::SetAuthError(const std::string& account_id, 27 account_id_ = account_id;
|
fake_profile_oauth2_token_service.h | 55 std::string account_id; member in struct:FakeProfileOAuth2TokenService::PendingRequest 67 const std::string& account_id) OVERRIDE; 71 virtual void UpdateCredentials(const std::string& account_id, 81 void IssueRefreshTokenForUser(const std::string& account_id, 109 const std::string& account_id, 115 virtual void InvalidateOAuth2Token(const std::string& account_id, 120 virtual std::string GetRefreshToken(const std::string& account_id) OVERRIDE;
|
profile_oauth2_token_service.h | 60 // Updates a |refresh_token| for an |account_id|. Credentials are persisted, 62 virtual void UpdateCredentials(const std::string& account_id, 65 // Revokes credentials related to |account_id|. 66 void RevokeCredentials(const std::string& account_id); 85 const std::string& account_id, 109 // Maps the |account_id| of accounts known to ProfileOAuth2TokenService 117 virtual std::string GetRefreshToken(const std::string& account_id) OVERRIDE; 125 const std::string& account_id, 128 // Persists credentials for |account_id|. Enables overriding for 130 virtual void PersistCredentials(const std::string& account_id, [all...] |
android_profile_oauth2_token_service.h | 40 const std::string& account_id) OVERRIDE; 78 const std::string& account_id, 86 virtual void InvalidateOAuth2Token(const std::string& account_id, 93 const std::string& account_id) OVERRIDE; 95 virtual void FireRefreshTokenRevoked(const std::string& account_id) OVERRIDE;
|
fake_profile_oauth2_token_service.cc | 31 const std::string& account_id) { 32 return !GetRefreshToken(account_id).empty(); 36 const std::string& account_id, 38 IssueRefreshTokenForUser(account_id, refresh_token); 43 IssueRefreshTokenForUser("account_id", token); 47 const std::string& account_id, 51 FireRefreshTokenRevoked(account_id); 53 FireRefreshTokenAvailable(account_id); 107 const std::string& account_id) { 134 const std::string& account_id, [all...] |
profile_oauth2_token_service_request.h | 27 // Creates and starts a request for |account_id| and |scopes|. 28 // Uses the primary account id if |account_id| is the empty string. 31 const std::string& account_id, 45 const std::string& account_id,
|
signin_tracker.h | 73 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE; 74 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE;
|
android_profile_oauth2_token_service.cc | 79 const std::string& account_id) { 82 ConvertUTF8ToJavaString(env, account_id); 105 const std::string& account_id, 111 DCHECK(!account_id.empty()); 116 ConvertUTF8ToJavaString(env, account_id); 136 const std::string& account_id, 140 OAuth2TokenService::InvalidateOAuth2Token(account_id, 197 std::string account_id = ConvertJavaStringToUTF8(env, account_name); local 198 AndroidProfileOAuth2TokenService::FireRefreshTokenAvailable(account_id); 202 const std::string& account_id) { 217 std::string account_id = ConvertJavaStringToUTF8(env, account_name); local [all...] |
signin_tracker.cc | 52 void SigninTracker::OnRefreshTokenAvailable(const std::string& account_id) { 54 // that |account_id| is the primary account before signalling success. 58 void SigninTracker::OnRefreshTokenRevoked(const std::string& account_id) {
|
/external/chromium_org/chrome/browser/sync/ |
fake_oauth2_token_service.h | 22 const std::string& account_id, 28 virtual void PersistCredentials(const std::string& account_id, 32 const std::string& account_id) OVERRIDE;
|
fake_oauth2_token_service.cc | 13 const std::string& account_id, 37 const std::string& account_id, 43 const std::string& account_id) {
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
device_local_account_external_data_manager.cc | 17 const std::string& account_id, 26 account_id, backend_task_runner, resource_cache)));
|
device_local_account.cc | 31 const std::string& account_id, 34 account_id(account_id), 35 user_id(GenerateDeviceLocalAccountUserId(account_id, type)), 42 std::string GenerateDeviceLocalAccountUserId(const std::string& account_id, 57 base::HexEncode(account_id.c_str(), account_id.size()) + "@" + 101 it->account_id); 134 std::string account_id; local 136 chromeos::kAccountsPrefDeviceLocalAccountsKeyId, &account_id) || 165 << i << ": " << account_id << "."; local [all...] |
device_local_account.h | 30 const std::string& account_id, 36 // * The |account_id| is chosen by the entity that defines the device-local 37 // account. The only constraints are that the |account_id| be unique and, 43 // The |account_id| is primarily used by policy code: If device policy defines 44 // a device-local account with a certain |account_id|, the user policy for 45 // that account has to be fetched by referencing the same |account_id|. 47 // of the global user list on the device. The |account_id| would not be safe 51 std::string account_id; member in struct:policy::DeviceLocalAccount 56 std::string GenerateDeviceLocalAccountUserId(const std::string& account_id,
|
device_local_account_policy_service.cc | 76 // extensions are cached for |account_id|. 77 std::string GetCacheSubdirectoryForAccountID(const std::string& account_id) { 78 return base::HexEncode(account_id.c_str(), account_id.size()); 122 : account_id_(account.account_id), 127 store_->account_id()), 136 GetCacheSubdirectoryForAccountID(account.account_id))); 285 const std::string& account_id) { 286 return busy_extension_cache_directories_.find(account_id) != 294 !IsExtensionCacheDirectoryBusy(it->second->account_id())) { [all...] |
device_local_account_external_data_manager.h | 48 // The data is keyed by |account_id|, allowing one cache to be shared by any 52 const std::string& account_id,
|
/external/chromium_org/google_apis/gaia/ |
oauth2_token_service.h | 84 // account |account_id|. Once available, access tokens can be retrieved for 87 virtual void OnRefreshTokenAvailable(const std::string& account_id) {} 89 // account |account_id|. 90 virtual void OnRefreshTokenRevoked(const std::string& account_id) {} 108 // Checks in the cache for a valid access token for a specified |account_id| 111 // |account_id|. The caller owns the returned Request. 115 scoped_ptr<Request> StartRequest(const std::string& account_id, 123 const std::string& account_id, 133 const std::string& account_id, 142 // Returns true if a refresh token exists for |account_id|. If false, calls t 274 std::string account_id; member in struct:OAuth2TokenService::RequestParameters [all...] |
oauth2_token_service.cc | 24 const std::string& account_id, 27 account_id(account_id), 41 if (account_id < p.account_id) 43 else if (p.account_id < account_id) 50 const std::string& account_id, 52 : account_id_(account_id), 111 const std::string& account_id, [all...] |
/external/chromium_org/chromeos/dbus/ |
fake_session_manager_client.cc | 101 const std::string& account_id, 105 base::Bind(callback, device_local_account_policy_[account_id])); 126 const std::string& account_id, 129 device_local_account_policy_[account_id] = policy_blob; 160 const std::string& account_id) const { 162 device_local_account_policy_.find(account_id); 168 const std::string& account_id, 170 device_local_account_policy_[account_id] = policy_blob;
|