Searched defs:account_id (Results 1 - 25 of 119) sorted by path

12345

/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/profiles/
H A Dprofile_downloader_android.cc27 const std::string& account_id,
30 account_id_(account_id),
95 const std::string& account_id,
104 base::android::ConvertUTF8ToJavaString(env, account_id).obj(),
156 const std::string account_id = local
159 new AccountInfoRetriever(profile, account_id, image_side_pixels);
26 AccountInfoRetriever(Profile* profile, const std::string& account_id, const int desired_image_side_pixels) argument
94 OnProfileDownloadSuccess( const std::string& account_id, const base::string16& full_name, const SkBitmap& bitmap) argument
/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/extensions/file_manager/
H A Dprivate_api_drive.cc1006 const std::string& account_id = signin_manager->GetAuthenticatedAccountId(); local
1012 account_id,
/external/chromium_org/chrome/browser/chromeos/login/
H A Dexisting_user_controller_auto_login_unittest.cc102 void SetAutoLoginSettings(const std::string& account_id, int delay) { argument
105 account_id);
/external/chromium_org/chrome/browser/chromeos/login/screens/
H A Dcontroller_pairing_screen.cc199 const std::string account_id = local
201 const std::string domain(gaia::ExtractDomainName(account_id));
/external/chromium_org/chrome/browser/chromeos/login/signin/
H A Doauth2_login_manager.cc132 const std::string& account_id) {
139 // sure to restore session cookies in the context of the correct account_id.
148 if (GetPrimaryAccountId() == account_id) {
151 account_id, user_manager::User::OAUTH2_TOKEN_STATUS_VALID);
131 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 Dconsumer_management_service.cc283 const std::string& account_id) {
286 if (account_id == GetAccountIdFromProfile(enrolling_profile_)) {
392 const std::string& account_id = GetAccountIdFromProfile(profile); local
395 if (token_service->RefreshTokenIsAvailable(account_id)) {
409 const std::string& account_id = GetAccountIdFromProfile(enrolling_profile_); local
411 enrolling_profile_)->StartRequest(account_id, oauth_scopes, this);
282 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.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|.
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,
H A Ddevice_local_account_browsertest.cc611 const std::string& account_id) {
618 base::HexEncode(account_id.c_str(), account_id.size()));
621 base::FilePath GetCacheCRXFile(const std::string& account_id, argument
624 return GetExtensionCacheDirectoryForAccountID(account_id)
749 static bool IsKnownUser(const std::string& account_id) { argument
750 return user_manager::UserManager::Get()->IsKnownUser(account_id);
854 static bool IsNotKnownUser(const std::string& account_id) { argument
855 return !IsKnownUser(account_id);
610 GetExtensionCacheDirectoryForAccountID( const std::string& account_id) argument
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_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_service.cc82 // policy cache used for |account_id|.
83 std::string GetCacheSubdirectoryForAccountID(const std::string& account_id) { argument
84 return base::HexEncode(account_id.c_str(), account_id.size());
126 : account_id_(account.account_id),
133 store_->account_id()),
143 GetCacheSubdirectoryForAccountID(account.account_id)));
326 const std::string& account_id) {
327 return busy_extension_cache_directories_.find(account_id) !=
335 !IsExtensionCacheDirectoryBusy(it->second->account_id())) {
325 IsExtensionCacheDirectoryBusy( const std::string& account_id) argument
341 StartExtensionCacheForAccountIfPresent( const std::string& account_id) argument
361 OnObsoleteExtensionCacheShutdown( const std::string& account_id) argument
389 OnObsoleteExtensionCacheDeleted( 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 Ddevice_local_account_policy_store.cc25 const std::string& account_id,
30 account_id_(account_id),
24 DeviceLocalAccountPolicyStore( const std::string& account_id, chromeos::SessionManagerClient* session_manager_client, chromeos::DeviceSettingsService* device_settings_service, scoped_refptr<base::SequencedTaskRunner> background_task_runner) 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_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));
H A Duser_cloud_policy_token_forwarder.cc43 const std::string& account_id) {
42 OnRefreshTokenAvailable( const std::string& account_id) argument
/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_provider.cc174 kAccountsPrefDeviceLocalAccountsKeyId, entry->account_id());
593 std::string account_id; local
595 kAccountsPrefDeviceLocalAccountsKeyId, &account_id)) {
596 account->set_account_id(account_id);

Completed in 541 milliseconds

12345