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

1234

/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.cc47 const std::string& account_id) {
49 GetAuthenticatedAccountId() == account_id) {
46 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 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.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 Duser_cloud_policy_token_forwarder.cc43 const std::string& account_id) {
42 OnRefreshTokenAvailable( const std::string& account_id) argument
/external/chromium_org/chrome/browser/signin/
H A Dfake_profile_oauth2_token_service.h51 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| i
[all...]
/external/chromium_org/chrome/browser/ui/ash/
H A Dstub_user_accounts_delegate.cc25 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) { argument
34 secondary_accounts_.begin(), secondary_accounts_.end(), account_id),
39 void StubUserAccountsDelegate::AddAccount(const std::string& account_id) { argument
40 if (primary_account_ == account_id)
44 account_id) != secondary_accounts_.end())
46 secondary_accounts_.push_back(account_id);
24 GetAccountDisplayName( const std::string& account_id) argument
H A Duser_accounts_delegate_chromeos.cc55 const std::string& account_id) {
57 if (gaia::AreEmailsSame(user->email(), account_id) &&
60 return account_id;
64 const std::string& account_id) {
68 oauth2_token_service->RevokeCredentials(account_id);
76 const std::string& account_id) {
81 const std::string& account_id) {
54 GetAccountDisplayName( const std::string& account_id) argument
63 DeleteAccount( const std::string& account_id) argument
75 OnRefreshTokenAvailable( const std::string& account_id) argument
80 OnRefreshTokenRevoked( const std::string& account_id) argument
/external/chromium_org/components/signin/core/browser/
H A Dfake_auth_status_provider.cc29 void FakeAuthStatusProvider::SetAuthError(const std::string& account_id, argument
32 account_id_ = account_id;
H A Dprofile_oauth2_token_service.cc41 const std::string& account_id,
57 const std::string& account_id,
40 UpdateAuthError( const std::string& account_id, const GoogleServiceAuthError& error) argument
56 UpdateCredentials( const std::string& account_id, const std::string& refresh_token) argument
H A Dsignin_tracker.cc49 void SigninTracker::OnRefreshTokenAvailable(const std::string& account_id) { argument
50 if (account_id != signin_manager_->GetAuthenticatedAccountId())
65 void SigninTracker::OnRefreshTokenRevoked(const std::string& account_id) { argument
70 const std::string& account_id,
69 MergeSessionCompleted( const std::string& account_id, const GoogleServiceAuthError& error) argument
/external/chromium_org/google_apis/gaia/
H A Dfake_identity_provider.cc16 void FakeIdentityProvider::LogIn(const std::string& account_id) { argument
17 account_id_ = account_id;
H A Dfake_oauth2_token_service.h27 void AddAccount(const std::string& account_id);
28 void RemoveAccount(const std::string& account_id);
31 void IssueAllTokensForAccount(const std::string& account_id,
42 const std::string& account_id,
48 virtual void InvalidateOAuth2Token(const std::string& account_id,
53 virtual bool RefreshTokenIsAvailable(const std::string& account_id) const
61 std::string account_id; member in struct:FakeOAuth2TokenService::PendingRequest
72 const std::string& account_id,
H A Didentity_provider.cc41 void IdentityProvider::OnRefreshTokenAvailable(const std::string& account_id) { argument
42 if (account_id != GetActiveAccountId())
46 OnRefreshTokenAvailable(account_id));
49 void IdentityProvider::OnRefreshTokenRevoked(const std::string& account_id) { argument
50 if (account_id != GetActiveAccountId())
54 OnRefreshTokenRevoked(account_id));
H A Dubertoken_fetcher.cc31 void UbertokenFetcher::StartFetchingToken(const std::string& account_id) { argument
35 token_service_->StartRequest(account_id, scopes, this);
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_factory.cc110 std::string account_id = signin_wrapper->GetAccountIdToUse(); local
131 account_id,
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dinline_login_handler_chromeos.cc27 const std::string& account_id)
28 : web_ui_(web_ui), account_id_(account_id) {}
73 std::string account_id; local
74 dict->GetString("email", &account_id);
75 CHECK(!account_id.empty()) << "Account ID is empty.";
77 oauth2_delegate_.reset(new InlineLoginUIOAuth2Delegate(web_ui(), account_id));
26 InlineLoginUIOAuth2Delegate(content::WebUI* web_ui, const std::string& account_id) argument
/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/local_discovery/
H A Dgcd_api_flow.cc33 const std::string& account_id) {
35 new GCDApiFlowImpl(request_context, token_service, account_id));
30 Create( net::URLRequestContextGetter* request_context, OAuth2TokenService* token_service, const std::string& account_id) argument
H A Dgcd_api_flow_impl.cc24 const std::string& account_id)
28 account_id_(account_id) {
22 GCDApiFlowImpl(net::URLRequestContextGetter* request_context, OAuth2TokenService* token_service, const std::string& account_id) argument

Completed in 1715 milliseconds

1234