gaia 71 chrome/browser/android/bookmarks/managed_bookmarks_shim.cc domain = gaia::ExtractDomainName(username); gaia 151 chrome/browser/android/signin/signin_manager_android.cc env, gaia::ExtractDomainName(store->policy()->username()))); gaia 180 chrome/browser/android/signin/signin_manager_android.cc env, gaia::ExtractDomainName(username_))); gaia 62 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc user_ = user.empty() ? user : gaia::CanonicalizeEmail(user); gaia 92 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc user_ = gaia::CanonicalizeEmail(user); gaia 196 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc connector->GetEnterpriseDomain() != gaia::ExtractDomainName(user_)) { gaia 420 chrome/browser/chromeos/login/existing_user_controller.cc if (gaia::ExtractDomainName(user_context.username) == gaia 104 chrome/browser/chromeos/login/extended_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(user_id); gaia 170 chrome/browser/chromeos/login/extended_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(user_context.username); gaia 193 chrome/browser/chromeos/login/extended_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(user_context.username); gaia 215 chrome/browser/chromeos/login/extended_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(user_context.username); gaia 239 chrome/browser/chromeos/login/extended_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(user_context.username); gaia 262 chrome/browser/chromeos/login/extended_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(user_context.username); gaia 169 chrome/browser/chromeos/login/login_performer.cc std::string email = gaia::CanonicalizeEmail(user_context.username); gaia 205 chrome/browser/chromeos/login/login_performer.cc gaia::ExtractDomainName(user_context.username)); gaia 107 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(username); gaia 122 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(username); gaia 138 chrome/browser/chromeos/login/managed/managed_user_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(username); gaia 186 chrome/browser/chromeos/login/multi_profile_user_controller.cc user_email = gaia::CanonicalizeEmail(user_email); gaia 175 chrome/browser/chromeos/login/oauth2_login_manager.cc gaia::OAuthClientInfo client_info; gaia 180 chrome/browser/chromeos/login/oauth2_login_manager.cc account_id_fetcher_.reset(new gaia::GaiaOAuthClient( gaia 197 chrome/browser/chromeos/login/oauth2_login_manager.cc std::string canonicalized = gaia::CanonicalizeEmail(user_email); gaia 297 chrome/browser/chromeos/login/oauth2_login_manager.cc gaia::ParseListAccountsData(data, &accounts); gaia 298 chrome/browser/chromeos/login/oauth2_login_manager.cc std::string user_email = gaia::CanonicalizeEmail(GetPrimaryAccountId()); gaia 305 chrome/browser/chromeos/login/oauth2_login_manager.cc if (gaia::CanonicalizeEmail(iter->first) == user_email) { gaia 29 chrome/browser/chromeos/login/oauth2_login_manager.h public gaia::GaiaOAuthClient::Delegate, gaia 233 chrome/browser/chromeos/login/oauth2_login_manager.h scoped_ptr<gaia::GaiaOAuthClient> account_id_fetcher_; gaia 37 chrome/browser/chromeos/login/online_attempt_host.cc UserContext(gaia::CanonicalizeEmail(user_context.username), gaia 229 chrome/browser/chromeos/login/parallel_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(user_context.username); gaia 252 chrome/browser/chromeos/login/parallel_authenticator.cc std::string canonicalized = gaia::CanonicalizeEmail(user_context.username); gaia 285 chrome/browser/chromeos/login/parallel_authenticator.cc gaia::CanonicalizeEmail(user_context.username), gaia 428 chrome/browser/chromeos/login/supervised_user_manager_impl.cc if (gaia::ExtractDomainName(user_id) != gaia 454 chrome/browser/chromeos/login/user_manager_impl.cc (!user && gaia::ExtractDomainName(user_id) == gaia 625 chrome/browser/chromeos/login/user_manager_impl.cc DCHECK(gaia::ExtractDomainName(user_id) == gaia 1242 chrome/browser/chromeos/login/user_manager_impl.cc const std::string domain = gaia::ExtractDomainName(*it); gaia 194 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc (gaia::ExtractDomainName(gaia::CanonicalizeEmail(user_name)) == gaia 473 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc gaia::GaiaOAuthClient::kUrlFetcherId); gaia 56 chrome/browser/chromeos/policy/device_local_account.cc return gaia::CanonicalizeEmail( gaia 67 chrome/browser/chromeos/policy/device_local_account.cc const std::string domain = gaia::ExtractDomainName(user_id); gaia 234 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc gaia::OAuthClientInfo client_info; gaia 241 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc gaia_oauth_client_.reset(new gaia::GaiaOAuthClient( gaia 45 chrome/browser/chromeos/policy/enrollment_handler_chromeos.h public gaia::GaiaOAuthClient::Delegate { gaia 149 chrome/browser/chromeos/policy/enrollment_handler_chromeos.h scoped_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_; gaia 197 chrome/browser/chromeos/policy/enterprise_install_attributes.cc std::string domain = gaia::ExtractDomainName(user); gaia 248 chrome/browser/chromeos/policy/enterprise_install_attributes.cc registration_user = gaia::CanonicalizeEmail(user); gaia 259 chrome/browser/chromeos/policy/enterprise_install_attributes.cc std::string domain = gaia::ExtractDomainName(registration_user); gaia 345 chrome/browser/chromeos/policy/enterprise_install_attributes.cc registration_user_ = gaia::CanonicalizeEmail(enterprise_user); gaia 356 chrome/browser/chromeos/policy/enterprise_install_attributes.cc registration_domain_ = gaia::CanonicalizeDomain(registration_domain_); gaia 358 chrome/browser/chromeos/policy/enterprise_install_attributes.cc registration_domain_ = gaia::ExtractDomainName(registration_user_); gaia 120 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc EXPECT_EQ(gaia::CanonicalizeEmail(kTestUserCanonicalize), gaia 54 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc return gaia::ExtractDomainName(gaia::CanonicalizeEmail(username)); gaia 207 chrome/browser/chromeos/settings/cros_settings.cc gaia::CanonicalizeEmail(gaia::SanitizeEmail(email))); gaia 232 chrome/browser/chromeos/settings/cros_settings.cc gaia::CanonicalizeEmail(gaia::SanitizeEmail(entry_string))); gaia 322 chrome/browser/chromeos/settings/device_oauth2_token_service.cc gaia_oauth_client_.reset(new gaia::GaiaOAuthClient( gaia 326 chrome/browser/chromeos/settings/device_oauth2_token_service.cc gaia::OAuthClientInfo client_info; gaia 22 chrome/browser/chromeos/settings/device_oauth2_token_service.h namespace gaia { gaia 46 chrome/browser/chromeos/settings/device_oauth2_token_service.h public gaia::GaiaOAuthClient::Delegate { gaia 163 chrome/browser/chromeos/settings/device_oauth2_token_service.h scoped_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_; gaia 34 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc static const int kValidatorUrlFetcherId = gaia::GaiaOAuthClient::kUrlFetcherId; gaia 146 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc gaia::ExtractDomainName(email) == GetEnterpriseDomain(); gaia 159 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc return gaia::CanonicalizeEmail(signin_manager->GetAuthenticatedUsername()); gaia 98 chrome/browser/extensions/api/identity/account_tracker.cc DCHECK(!account.ids.gaia.empty()); gaia 104 chrome/browser/extensions/api/identity/account_tracker.cc DCHECK(!account.ids.gaia.empty()); gaia 110 chrome/browser/extensions/api/identity/account_tracker.cc DCHECK(!account.ids.gaia.empty()); gaia 126 chrome/browser/extensions/api/identity/account_tracker.cc bool needs_gaia_id = account.ids.gaia.empty(); gaia 151 chrome/browser/extensions/api/identity/account_tracker.cc if (!account.ids.gaia.empty()) { gaia 186 chrome/browser/extensions/api/identity/account_tracker.cc account.ids.gaia = gaia_id; gaia 247 chrome/browser/extensions/api/identity/account_tracker.cc gaia_oauth_client_.reset(new gaia::GaiaOAuthClient( gaia 24 chrome/browser/extensions/api/identity/account_tracker.h std::string gaia; gaia 108 chrome/browser/extensions/api/identity/account_tracker.h public gaia::GaiaOAuthClient::Delegate { gaia 137 chrome/browser/extensions/api/identity/account_tracker.h scoped_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_; gaia 159 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events_.push_back(TrackingEvent(ADDED, ids.email, ids.gaia)); gaia 163 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events_.push_back(TrackingEvent(REMOVED, ids.email, ids.gaia)); gaia 169 chrome/browser/extensions/api/identity/account_tracker_unittest.cc TrackingEvent(is_signed_in ? SIGN_IN : SIGN_OUT, ids.email, ids.gaia)); gaia 380 chrome/browser/extensions/api/identity/account_tracker_unittest.cc ReturnOAuthUrlFetchResults(gaia::GaiaOAuthClient::kUrlFetcherId, gaia 389 chrome/browser/extensions/api/identity/account_tracker_unittest.cc gaia::GaiaOAuthClient::kUrlFetcherId, net::HTTP_BAD_REQUEST, ""); gaia 202 chrome/browser/extensions/api/identity/identity_api.cc account_info.id = ids.gaia; gaia 365 chrome/browser/first_run/first_run.cc gaia::IsGaiaSignonRealm(contents->GetURL().GetOrigin()) || gaia 33 chrome/browser/managed_mode/custodian_profile_downloader_service.cc if (gaia::AreEmailsSame(last_downloaded_profile_email_, current_email)) { gaia 27 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc using gaia::GaiaOAuthClient; gaia 219 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc gaia::OAuthClientInfo client_info; gaia 223 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc gaia_oauth_client_.reset(new gaia::GaiaOAuthClient(context_)); gaia 166 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc gaia::GaiaOAuthClient::kUrlFetcherId); gaia 143 chrome/browser/policy/profile_policy_connector.cc return gaia::ExtractDomainName(store->policy()->username()); gaia 109 chrome/browser/signin/signin_header_helper.cc if (gaia::IsGaiaSignonRealm(request->url().GetOrigin()) && gaia 29 chrome/browser/ui/ash/multi_user/multi_user_util.cc email : gaia::CanonicalizeEmail(gaia::SanitizeEmail(email)); gaia 131 chrome/browser/ui/ash/session_state_delegate_chromeos.cc return gaia::CanonicalizeEmail(gaia::SanitizeEmail( gaia 153 chrome/browser/ui/ash/session_state_delegate_chromeos.cc gaia::CanonicalizeEmail(gaia::SanitizeEmail(user_id))); gaia 351 chrome/browser/ui/sync/one_click_signin_helper.cc while (gaia::IsGaiaSignonRealm(local_continue_url.GetOrigin())) { gaia 387 chrome/browser/ui/sync/one_click_signin_helper.cc return gaia::IsGaiaSignonRealm(url.GetOrigin()) || gaia 578 chrome/browser/ui/sync/one_click_signin_helper.cc if (!gaia::AreEmailsSame(display_email, args_.email)) { gaia 833 chrome/browser/ui/sync/one_click_signin_helper.cc const bool same_email = gaia::AreEmailsSame(current_email, email); gaia 855 chrome/browser/ui/sync/one_click_signin_helper.cc if (gaia::AreEmailsSame(email, current_email)) { gaia 896 chrome/browser/ui/sync/one_click_signin_helper.cc if (!gaia::IsGaiaSignonRealm(url.GetOrigin())) gaia 969 chrome/browser/ui/sync/one_click_signin_helper.cc if (!gaia::IsGaiaSignonRealm(request->url().GetOrigin())) gaia 1173 chrome/browser/ui/sync/one_click_signin_helper.cc if (!last_email.empty() && !gaia::AreEmailsSame(last_email, email)) { gaia 1273 chrome/browser/ui/sync/one_click_signin_helper.cc if (gaia::IsGaiaSignonRealm(GURL(form.signon_realm))) { gaia 164 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc base::ASCIIToUTF16(gaia::ExtractDomainName(username_)); gaia 33 chrome/browser/ui/webui/chromeos/login/authenticated_user_email_retriever.cc gaia::ParseListAccountsData(data, &accounts); gaia 385 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc controller_->OnLoginDone(gaia::SanitizeEmail(user)); gaia 382 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.cc gaia::SanitizeEmail(raw_manager_username); gaia 1147 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc const std::string sanitized_email = gaia::SanitizeEmail(typed_email); gaia 1174 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc const std::string sanitized_email = gaia::SanitizeEmail(email); gaia 1183 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc delegate_->Login(UserContext(gaia::SanitizeEmail(username), gaia 481 chrome/browser/ui/webui/options/browser_options_handler.cc username = gaia::SanitizeEmail(gaia::CanonicalizeEmail(username)); gaia 103 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc WhitelistUser(gaia::CanonicalizeEmail(typed_email)); gaia 113 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc base::StringValue canonical_email(gaia::CanonicalizeEmail(email)); gaia 206 chrome/browser/ui/webui/policy_ui.cc dict->SetString("domain", gaia::ExtractDomainName(username)); gaia 758 chrome/browser/ui/webui/policy_ui.cc user_status->SetString("domain", gaia::ExtractDomainName(username)); gaia 303 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc if (!gaia::AreEmailsSame(email_, default_email)) { gaia 42 chrome/service/cloud_print/cloud_print_auth.cc const gaia::OAuthClientInfo& oauth_client_info, gaia 93 chrome/service/cloud_print/cloud_print_auth.cc oauth_client_.reset(new gaia::GaiaOAuthClient( gaia 104 chrome/service/cloud_print/cloud_print_auth.cc oauth_client_.reset(new gaia::GaiaOAuthClient( gaia 190 chrome/service/cloud_print/cloud_print_auth.cc oauth_client_.reset(new gaia::GaiaOAuthClient( gaia 26 chrome/service/cloud_print/cloud_print_auth.h public gaia::GaiaOAuthClient::Delegate { gaia 42 chrome/service/cloud_print/cloud_print_auth.h const gaia::OAuthClientInfo& oauth_client_info, gaia 81 chrome/service/cloud_print/cloud_print_auth.h gaia::OAuthClientInfo oauth_client_info_; gaia 82 chrome/service/cloud_print/cloud_print_auth.h scoped_ptr<gaia::GaiaOAuthClient> oauth_client_; gaia 154 chrome/service/cloud_print/cloud_print_proxy.cc gaia::OAuthClientInfo oauth_client_info; gaia 47 chrome/service/cloud_print/cloud_print_proxy_backend.cc const gaia::OAuthClientInfo& oauth_client_info, gaia 135 chrome/service/cloud_print/cloud_print_proxy_backend.cc gaia::OAuthClientInfo oauth_client_info_; gaia 162 chrome/service/cloud_print/cloud_print_proxy_backend.cc const gaia::OAuthClientInfo& oauth_client_info, gaia 226 chrome/service/cloud_print/cloud_print_proxy_backend.cc const gaia::OAuthClientInfo& oauth_client_info, gaia 19 chrome/service/cloud_print/cloud_print_proxy_backend.h namespace gaia { gaia 64 chrome/service/cloud_print/cloud_print_proxy_backend.h const gaia::OAuthClientInfo& oauth_client_info, gaia 206 cloud_print/gcp20/prototype/cloud_print_requester.cc gaia_.reset(new gaia::GaiaOAuthClient(context_getter_.get())); gaia 386 cloud_print/gcp20/prototype/cloud_print_requester.cc gaia_.reset(new gaia::GaiaOAuthClient(context_getter_.get())); gaia 28 cloud_print/gcp20/prototype/cloud_print_requester.h public gaia::GaiaOAuthClient::Delegate, gaia 208 cloud_print/gcp20/prototype/cloud_print_requester.h gaia::OAuthClientInfo oauth_client_info_; gaia 211 cloud_print/gcp20/prototype/cloud_print_requester.h scoped_ptr<gaia::GaiaOAuthClient> gaia_; gaia 201 components/policy/core/browser/browser_policy_connector.cc gaia::ExtractDomainName(gaia::CanonicalizeEmail(username))); gaia 91 components/policy/core/common/cloud/cloud_policy_validator.cc domain_ = gaia::CanonicalizeDomain(expected_domain); gaia 334 components/policy/core/common/cloud/cloud_policy_validator.cc domain = gaia::ExtractDomainName( gaia 335 components/policy/core/common/cloud/cloud_policy_validator.cc gaia::CanonicalizeEmail( gaia 336 components/policy/core/common/cloud/cloud_policy_validator.cc gaia::SanitizeEmail(policy_data_->username()))); gaia 480 components/policy/core/common/cloud/cloud_policy_validator.cc expected = gaia::CanonicalizeEmail(gaia::SanitizeEmail(expected)); gaia 481 components/policy/core/common/cloud/cloud_policy_validator.cc actual = gaia::CanonicalizeEmail(gaia::SanitizeEmail(actual)); gaia 346 components/policy/core/common/cloud/user_cloud_policy_store.cc owning_domain = gaia::ExtractDomainName( gaia 347 components/policy/core/common/cloud/user_cloud_policy_store.cc gaia::CanonicalizeEmail(gaia::SanitizeEmail(signin_username_))); gaia 94 components/signin/core/browser/account_reconcilor.cc return gaia::CanonicalizeEmail(s1) < gaia::CanonicalizeEmail(s2); gaia 98 components/signin/core/browser/account_reconcilor.cc : public gaia::GaiaOAuthClient::Delegate { gaia 116 components/signin/core/browser/account_reconcilor.cc gaia::GaiaOAuthClient gaia_auth_client_; gaia 448 components/signin/core/browser/account_reconcilor.cc bool valid_json = gaia::ParseListAccountsData(data, &gaia_accounts); gaia 581 components/signin/core/browser/account_reconcilor.cc gaia::AreEmailsSame(primary_account_, gaia_accounts_[0].first); gaia 600 components/signin/core/browser/account_reconcilor.cc if (gaia::AreEmailsSame(gaia_accounts_[j].first, *i)) { gaia 716 components/signin/core/browser/account_reconcilor.cc if (gaia::AreEmailsSame(account_id, i->first)) { gaia 16 components/signin/core/browser/signin_account_id_helper.cc public gaia::GaiaOAuthClient::Delegate { gaia 45 components/signin/core/browser/signin_account_id_helper.cc scoped_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_; gaia 79 components/signin/core/browser/signin_account_id_helper.cc new gaia::GaiaOAuthClient(client_->GetURLRequestContext())); gaia 133 components/signin/core/browser/signin_manager.cc gaia::AreEmailsSame(username, GetAuthenticatedUsername())); gaia 64 components/signin/core/browser/signin_manager_base.cc DLOG_IF(ERROR, !gaia::AreEmailsSame(username, authenticated_username_)) gaia 73 components/signin/core/browser/signin_manager_base.cc if (!gaia::AreEmailsSame(username, authenticated_username_) || gaia 83 components/signin/core/browser/signin_manager_base.cc DCHECK(pref_username.empty() || gaia::AreEmailsSame(username, pref_username)) gaia 55 google_apis/gaia/gaia_auth_util.cc return gaia::CanonicalizeEmail(gaia::SanitizeEmail(email1)) == gaia 56 google_apis/gaia/gaia_auth_util.cc gaia::CanonicalizeEmail(gaia::SanitizeEmail(email2)); gaia 14 google_apis/gaia/gaia_auth_util.h namespace gaia { gaia 25 google_apis/gaia/gaia_oauth_client.h namespace gaia { gaia 182 google_apis/gaia/gaia_oauth_client_unittest.cc class MockGaiaOAuthClientDelegate : public gaia::GaiaOAuthClient::Delegate { gaia 40 remoting/host/oauth_token_getter.cc new gaia::GaiaOAuthClient(url_request_context_getter)), gaia 140 remoting/host/oauth_token_getter.cc gaia::OAuthClientInfo client_info = { gaia 24 remoting/host/oauth_token_getter.h public gaia::GaiaOAuthClient::Delegate { gaia 82 remoting/host/oauth_token_getter.h scoped_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_; gaia 21 remoting/host/setup/host_starter.cc scoped_ptr<gaia::GaiaOAuthClient> oauth_client, gaia 40 remoting/host/setup/host_starter.cc scoped_ptr<gaia::GaiaOAuthClient> oauth_client( gaia 41 remoting/host/setup/host_starter.cc new gaia::GaiaOAuthClient(url_request_context_getter)); gaia 21 remoting/host/setup/host_starter.h class HostStarter : public gaia::GaiaOAuthClient::Delegate, gaia 70 remoting/host/setup/host_starter.h HostStarter(scoped_ptr<gaia::GaiaOAuthClient> oauth_client, gaia 78 remoting/host/setup/host_starter.h scoped_ptr<gaia::GaiaOAuthClient> oauth_client_; gaia 81 remoting/host/setup/host_starter.h gaia::OAuthClientInfo oauth_client_info_; gaia 409 remoting/host/setup/me2me_native_messaging_host.cc gaia::OAuthClientInfo oauth_client_info = { gaia 22 remoting/host/setup/me2me_native_messaging_host.h namespace gaia { gaia 22 remoting/host/setup/oauth_client.cc const gaia::OAuthClientInfo& oauth_client_info, gaia 82 remoting/host/setup/oauth_client.cc const gaia::OAuthClientInfo& oauth_client_info, gaia 19 remoting/host/setup/oauth_client.h class OAuthClient : public gaia::GaiaOAuthClient::Delegate { gaia 40 remoting/host/setup/oauth_client.h const gaia::OAuthClientInfo& oauth_client_info, gaia 57 remoting/host/setup/oauth_client.h Request(const gaia::OAuthClientInfo& oauth_client_info, gaia 61 remoting/host/setup/oauth_client.h gaia::OAuthClientInfo oauth_client_info; gaia 70 remoting/host/setup/oauth_client.h gaia::GaiaOAuthClient gaia_oauth_client_;