Searched defs:account_id (Results 1 - 25 of 59) sorted by relevance

123

/external/chromium_org/chrome/browser/extensions/api/identity/
H A Dextension_token_key.h15 const std::string& account_id,
20 std::string account_id; member in struct:extensions::ExtensionTokenKey
H A Dextension_token_key.cc10 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)
9 ExtensionTokenKey(const std::string& extension_id, const std::string& account_id, const std::set<std::string> scopes) argument
H A Didentity_signin_flow.cc45 const std::string& account_id) {
47 GetPrimaryAccountId() == account_id) {
44 OnRefreshTokenAvailable( const std::string& account_id) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Ddevice_local_account_external_data_manager.cc17 const std::string& account_id,
26 account_id, backend_task_runner, resource_cache)));
16 DeviceLocalAccountExternalDataManager( const std::string& account_id, const GetChromePolicyDetailsCallback& get_policy_details, scoped_refptr<base::SequencedTaskRunner> backend_task_runner, scoped_refptr<base::SequencedTaskRunner> io_task_runner, ResourceCache* resource_cache) argument
H A Ddevice_local_account.h30 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,
H A Ddevice_local_account_external_data_service.cc72 const std::string& account_id,
75 external_data_managers_[account_id];
78 account_id,
71 GetExternalDataManager( const std::string& account_id, CloudPolicyStore* policy_store) argument
H A Ddevice_local_account_policy_store.h42 const std::string& account_id,
48 const std::string& account_id() const { return account_id_; } function in class:policy::DeviceLocalAccountPolicyStore
H A Duser_cloud_policy_token_forwarder.cc40 const std::string& account_id) {
39 OnRefreshTokenAvailable( const std::string& account_id) argument
H A Ddevice_local_account.cc31 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, argument
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) ||
30 DeviceLocalAccount(Type type, const std::string& account_id, const std::string& kiosk_app_id) argument
165 << i << ": " << account_id << "."; local
[all...]
H A Ddevice_local_account_policy_store.cc24 const std::string& account_id,
29 account_id_(account_id),
23 DeviceLocalAccountPolicyStore( const std::string& account_id, chromeos::SessionManagerClient* session_manager_client, chromeos::DeviceSettingsService* device_settings_service, scoped_refptr<base::SequencedTaskRunner> background_task_runner) argument
/external/chromium_org/chrome/browser/signin/
H A Dfake_auth_status_provider.cc25 void FakeAuthStatusProvider::SetAuthError(const std::string& account_id, argument
27 account_id_ = account_id;
H A Dfake_profile_oauth2_token_service.h55 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;
H A Dgoogle_auto_login_helper.cc26 void GoogleAutoLoginHelper::LogIn(const std::string& account_id) { argument
28 accounts_.push_back(account_id);
31 uber_token_fetcher_->StartFetchingToken(account_id);
H A Dsignin_tracker.cc52 void SigninTracker::OnRefreshTokenAvailable(const std::string& account_id) { argument
54 // that |account_id| is the primary account before signalling success.
58 void SigninTracker::OnRefreshTokenRevoked(const std::string& account_id) { argument
H A Dubertoken_fetcher.cc34 void UbertokenFetcher::StartFetchingToken(const std::string& account_id) { argument
39 access_token_request_ = token_service->StartRequest(account_id, scopes, this);
H A Dgoogle_auto_login_helper_unittest.cc20 UbertokenFetcher(profile, consumer), account_id("") {}
23 OnUberAuthTokenSuccess("mock token: " + account_id);
27 account_id = id;
30 std::string account_id; member in class:__anon5920::MockUbertokenFetcher
H A Dmutable_profile_oauth2_token_service.cc25 bool IsLegacyServiceId(const std::string& account_id) { argument
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...]
H A Dfake_profile_oauth2_token_service.cc31 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,
30 RefreshTokenIsAvailable( const std::string& account_id) argument
35 UpdateCredentials( const std::string& account_id, const std::string& refresh_token) argument
46 IssueRefreshTokenForUser( const std::string& account_id, const std::string& token) argument
106 GetRefreshToken( const std::string& account_id) argument
132 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
148 InvalidateOAuth2Token( const std::string& account_id, const std::string& client_id, const ScopeSet& scopes, const std::string& access_token) argument
[all...]
H A Dprofile_oauth2_token_service_request.cc27 // Starts fetching an OAuth2 access token for |account_id| and |scopes|. It
30 const std::string& account_id,
55 const std::string& account_id,
97 const std::string& account_id,
102 StartOnUIThread(account_id, scopes);
108 this, account_id, scopes));
139 const std::string& account_id,
147 account_id.empty() ? service->GetPrimaryAccountId() : account_id;
199 const std::string& account_id,
96 Start( const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes) argument
138 StartOnUIThread( const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes) argument
197 CreateAndStart( Profile* profile, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService::Consumer* consumer) argument
206 ProfileOAuth2TokenServiceRequest( Profile* profile, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService::Consumer* consumer) argument
[all...]
/external/chromium_org/chrome/browser/sync/
H A Dfake_oauth2_token_service.cc13 const std::string& account_id,
37 const std::string& account_id,
43 const std::string& account_id) {
11 FetchOAuth2Token( OAuth2TokenService::RequestImpl* request, const std::string& account_id, net::URLRequestContextGetter* getter, const std::string& client_id, const std::string& client_secret, const OAuth2TokenService::ScopeSet& scopes) argument
36 PersistCredentials( const std::string& account_id, const std::string& refresh_token) argument
42 ClearPersistedCredentials( const std::string& account_id) argument
/external/chromium_org/chrome/browser/local_discovery/
H A Dprivet_confirm_api_flow.cc15 const std::string& account_id,
20 account_id,
12 PrivetConfirmApiCallFlow( net::URLRequestContextGetter* request_context, OAuth2TokenService* token_service, const std::string& account_id, const GURL& automated_claim_url, const ResponseCallback& callback) argument
H A Dcloud_print_printer_list.cc21 const std::string& account_id,
28 account_id,
17 CloudPrintPrinterList( net::URLRequestContextGetter* request_context, const std::string& cloud_print_url, OAuth2TokenService* token_service, const std::string& account_id, Delegate* delegate) argument
H A Dcloud_print_base_api_flow.cc28 const std::string& account_id,
33 account_id_(account_id),
25 CloudPrintBaseApiFlow( net::URLRequestContextGetter* request_context, OAuth2TokenService* token_service, const std::string& account_id, const GURL& automated_claim_url, Delegate* delegate) argument
/external/chromium_org/chrome/browser/policy/cloud/
H A Duser_policy_signin_service.cc105 const std::string& account_id) {
114 if (account_id != oauth2_token_service_->GetPrimaryAccountId())
104 OnRefreshTokenAvailable( const std::string& account_id) argument
/external/chromium_org/chrome/browser/chromeos/login/
H A Dexisting_user_controller_auto_login_unittest.cc103 void SetAutoLoginSettings(const std::string& account_id, int delay) { argument
106 account_id);

Completed in 509 milliseconds

123