/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
|
/external/chromium_org/chrome/browser/ui/ash/ |
stub_user_accounts_delegate.cc | 25 const std::string& account_id) { 26 std::string res(1, std::toupper(account_id[0])); 27 res += account_id.substr(1); 31 void StubUserAccountsDelegate::DeleteAccount(const std::string& account_id) { 34 secondary_accounts_.begin(), secondary_accounts_.end(), account_id), 39 void StubUserAccountsDelegate::AddAccount(const std::string& account_id) { 40 if (primary_account_ == account_id) 44 account_id) != secondary_accounts_.end()) 46 secondary_accounts_.push_back(account_id);
|
user_accounts_delegate_chromeos.h | 27 const std::string& account_id) OVERRIDE; 28 virtual void DeleteAccount(const std::string& account_id) OVERRIDE; 32 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE; 33 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE;
|
user_accounts_delegate_chromeos.cc | 56 const std::string& account_id) { 59 if (gaia::AreEmailsSame(user->email(), account_id) && 62 return account_id; 66 const std::string& account_id) { 70 oauth2_token_service->RevokeCredentials(account_id); 78 const std::string& account_id) { 83 const std::string& account_id) {
|
/external/chromium_org/google_apis/gaia/ |
fake_oauth2_token_service.cc | 25 const std::string& account_id, 31 pending_request.account_id = account_id; 40 const std::string& account_id, 51 const std::string& account_id) const { 52 return account_ids_.count(account_id) != 0; 55 void FakeOAuth2TokenService::AddAccount(const std::string& account_id) { 56 account_ids_.insert(account_id); 57 FireRefreshTokenAvailable(account_id); 60 void FakeOAuth2TokenService::RemoveAccount(const std::string& account_id) { [all...] |
fake_oauth2_token_service.h | 27 void AddAccount(const std::string& account_id); 28 void RemoveAccount(const std::string& account_id); 32 void IssueAllTokensForAccount(const std::string& account_id, 36 const std::string& account_id, 46 const std::string& account_id, 52 virtual void InvalidateOAuth2Token(const std::string& account_id, 57 virtual bool RefreshTokenIsAvailable(const std::string& account_id) const 65 std::string account_id; member in struct:FakeOAuth2TokenService::PendingRequest 76 const std::string& account_id,
|
oauth2_token_service.h | 93 // account |account_id|. Once available, access tokens can be retrieved for 96 virtual void OnRefreshTokenAvailable(const std::string& account_id) {} 98 // account |account_id|. 99 virtual void OnRefreshTokenRevoked(const std::string& account_id) {} 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...] |
fake_identity_provider.cc | 16 void FakeIdentityProvider::LogIn(const std::string& account_id) { 17 account_id_ = account_id;
|
identity_provider.cc | 41 void IdentityProvider::OnRefreshTokenAvailable(const std::string& account_id) { 42 if (account_id != GetActiveAccountId()) 46 OnRefreshTokenAvailable(account_id)); 49 void IdentityProvider::OnRefreshTokenRevoked(const std::string& account_id) { 50 if (account_id != GetActiveAccountId()) 54 OnRefreshTokenRevoked(account_id));
|
oauth2_token_service_request.h | 58 // Creates and starts an access token request for |account_id| and |scopes|. 62 // |account_id| must not be empty. 73 const std::string& account_id, 77 // Invalidates |access_token| for |account_id| and |scopes|. 81 // |account_id| must not be empty. 86 const std::string& account_id, 96 OAuth2TokenServiceRequest(const std::string& account_id);
|
/external/chromium_org/components/signin/core/browser/ |
mutable_profile_oauth2_token_service.cc | 22 std::string ApplyAccountIdPrefix(const std::string& account_id) { 23 return kAccountIdPrefix + account_id; 30 bool IsLegacyServiceId(const std::string& account_id) { 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).empty() 245 std::string account_id = RemoveAccountIdPrefix(prefixed_account_id); local [all...] |
account_tracker_service.cc | 21 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)) 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...] |
account_tracker_service.h | 35 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);
|
mutable_profile_oauth2_token_service.h | 29 virtual void UpdateCredentials(const std::string& account_id, 32 virtual bool RefreshTokenIsAvailable(const std::string& account_id) const 35 // Revokes credentials related to |account_id|. 36 void RevokeCredentials(const std::string& account_id); 42 const std::string& account_id, 67 // Maps the |account_id| of accounts known to ProfileOAuth2TokenService 79 const std::string& account_id, 86 virtual void UpdateAuthError(const std::string& account_id, 89 virtual std::string GetRefreshToken(const std::string& account_id) const; 112 // Persists credentials for |account_id|. Enables overriding fo [all...] |
signin_tracker.h | 84 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE; 85 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE; 93 const std::string& account_id,
|
/external/chromium_org/sync/internal_api/attachments/ |
attachment_downloader.cc | 21 const std::string& account_id, 28 account_id,
|
/external/chromium_org/chrome/browser/signin/ |
fake_profile_oauth2_token_service.cc | 27 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); [all...] |
fake_profile_oauth2_token_service.h | 51 std::string account_id; member in struct:FakeProfileOAuth2TokenService::PendingRequest 63 const std::string& account_id) const OVERRIDE; 72 virtual void UpdateCredentials(const std::string& account_id, 82 void IssueRefreshTokenForUser(const std::string& account_id, 93 void IssueAllTokensForAccount(const std::string& account_id, 98 const std::string& account_id, 120 const std::string& account_id, 127 const std::string& account_id, 131 virtual void InvalidateOAuth2Token(const std::string& account_id, 141 // matching |scopes| are completed. If |account_id| is empty, then pendin [all...] |
android_profile_oauth2_token_service.h | 49 const std::string& account_id) const OVERRIDE; 51 const std::string& account_id, 95 const std::string& account_id, 101 virtual void InvalidateOAuth2Token(const std::string& account_id, 108 const std::string& account_id) OVERRIDE; 110 virtual void FireRefreshTokenRevoked(const std::string& account_id) OVERRIDE;
|
/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|. 48 // of the global user list on the device. The |account_id| would not be safe 52 std::string account_id; member in struct:policy::DeviceLocalAccount 57 std::string GenerateDeviceLocalAccountUserId(const std::string& account_id,
|
/external/chromium_org/components/signin/ios/browser/ |
profile_oauth2_token_service_ios.h | 34 const std::string& account_id) const OVERRIDE; 36 virtual void InvalidateOAuth2Token(const std::string& account_id, 45 virtual void UpdateAuthError(const std::string& account_id, 49 virtual void UpdateCredentials(const std::string& account_id, 70 const std::string& account_id, 76 // Adds |account_id| to |accounts_| if it does not exist or udpates 77 // the auth error state of |account_id| if it exists. Fires 79 virtual void AddOrUpdateAccount(const std::string& account_id); 81 // Removes |account_id| from |accounts_|. Fires |OnRefreshTokenRevoked| 83 virtual void RemoveAccount(const std::string& account_id); [all...] |
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
inline_login_handler_chromeos.cc | 29 const std::string& account_id) 30 : web_ui_(web_ui), account_id_(account_id) {} 75 std::string account_id; local 76 dict->GetString("email", &account_id); 77 CHECK(!account_id.empty()) << "Account ID is empty."; 79 oauth2_delegate_.reset(new InlineLoginUIOAuth2Delegate(web_ui(), account_id));
|