Updates comments in the src files to remove gender specific terms.
This removes 'he', 'she', 'his' and 'her' from the comments.
BUG=542537
Review-Url: https://codereview.chromium.org/2471183004
Cr-Commit-Position: refs/heads/master@{#429800}
diff --git a/chrome/browser/android/locale/special_locale_handler.cc b/chrome/browser/android/locale/special_locale_handler.cc
index 19be440..697665b 100644
--- a/chrome/browser/android/locale/special_locale_handler.cc
+++ b/chrome/browser/android/locale/special_locale_handler.cc
@@ -97,7 +97,7 @@
void SpecialLocaleHandler::OverrideDefaultSearchProvider(
JNIEnv* env,
const JavaParamRef<jobject>& obj) {
- // If the user has changed his default search provider, no-op.
+ // If the user has changed their default search provider, no-op.
TemplateURL* current_dsp = template_url_service_->GetDefaultSearchProvider();
if (!current_dsp ||
current_dsp->prepopulate_id() != TemplateURLPrepopulateData::google.id) {
@@ -115,7 +115,7 @@
void SpecialLocaleHandler::SetGoogleAsDefaultSearch(
JNIEnv* env,
const JavaParamRef<jobject>& obj) {
- // If the user has changed his default search provider, no-op.
+ // If the user has changed their default search provider, no-op.
TemplateURL* current_dsp = template_url_service_->GetDefaultSearchProvider();
if (!current_dsp ||
current_dsp->prepopulate_id() !=
diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h b/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h
index 4ee704b3..4ec0c86 100644
--- a/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h
+++ b/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h
@@ -23,8 +23,8 @@
class SupervisedUserCreationController {
public:
// This constant is used to indicate that user does not have one of default
- // avatars: either he has no chromeos avatar at all, or has an external
- // image as an avatar.
+ // avatars: either they have no chromeos avatar at all, or they have an
+ // external image as an avatar.
static const int kDummyAvatarIndex;
enum ErrorCode {
diff --git a/chrome/browser/chromeos/login/users/multi_profile_user_controller.cc b/chrome/browser/chromeos/login/users/multi_profile_user_controller.cc
index a9e0351a..aa3f4c6 100644
--- a/chrome/browser/chromeos/login/users/multi_profile_user_controller.cc
+++ b/chrome/browser/chromeos/login/users/multi_profile_user_controller.cc
@@ -100,8 +100,8 @@
if (policy::PolicyCertServiceFactory::UsedPolicyCertificates(
user->GetAccountId().GetUserEmail())) {
// Check directly in local_state before checking if the primary user has
- // a PolicyCertService. His profile may have been tainted previously though
- // he didn't get a PolicyCertService created for this session.
+ // a PolicyCertService. Their profile may have been tainted previously
+ // though they didn't get a PolicyCertService created for this session.
return NOT_ALLOWED_PRIMARY_POLICY_CERT_TAINTED;
}
diff --git a/chrome/browser/chromeos/policy/policy_cert_service_factory.cc b/chrome/browser/chromeos/policy/policy_cert_service_factory.cc
index c40e75f..3d8aeb82 100644
--- a/chrome/browser/chromeos/policy/policy_cert_service_factory.cc
+++ b/chrome/browser/chromeos/policy/policy_cert_service_factory.cc
@@ -115,7 +115,7 @@
// This login should not have been allowed. After rebooting, local_state
// will contain the updated list of users that used policy-pushed
// certificates and this won't happen again.
- // Note that a user becomes logged in before his profile is created.
+ // Note that a user becomes logged in before their profile is created.
LOG(ERROR) << "Shutdown session because a tainted profile was added.";
g_browser_process->local_state()->CommitPendingWrite();
prefs->CommitPendingWrite();
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.cc b/chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.cc
index 52c0916..938c32a 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.cc
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.cc
@@ -58,7 +58,7 @@
const GoogleServiceAuthError& error) {
// This should seldom happen: if the user is signing in for the first time
// then this was an online signin and network errors are unlikely; if the
- // user had already signed in before then he should have policy cached, and
+ // user had already signed in before then they should have policy cached, and
// RequestAccessToken() wouldn't have been invoked.
// Still, something just went wrong (server 500, or something). Currently
// we don't recover in this case, and we'll just try to register for policy
diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download/download_prefs.cc
index 1b85c848..61540ec 100644
--- a/chrome/browser/download/download_prefs.cc
+++ b/chrome/browser/download/download_prefs.cc
@@ -145,7 +145,7 @@
// If the download path is dangerous we forcefully reset it. But if we do
// so we set a flag to make sure we only do it once, to avoid fighting
- // the user if he really wants it on an unsafe place such as the desktop.
+ // the user if they really want it on an unsafe place such as the desktop.
if (!prefs->GetBoolean(prefs::kDownloadDirUpgraded)) {
base::FilePath current_download_dir = prefs->GetFilePath(
prefs::kDownloadDefaultDirectory);
diff --git a/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h b/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h
index 8eccb83..ae6d015 100644
--- a/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h
+++ b/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h
@@ -14,7 +14,7 @@
// This class configures an infobar shown when a page requests access to a
// user's microphone and/or video camera. The user is shown a message asking
-// which audio and/or video devices he wishes to use with the current page, and
+// which audio and/or video devices they wish to use with the current page, and
// buttons to give access to the selected devices to the page, or to deny access
// to them.
class MediaStreamInfoBarDelegateAndroid : public PermissionInfoBarDelegate {
diff --git a/chrome/browser/password_manager/save_password_infobar_delegate_android.h b/chrome/browser/password_manager/save_password_infobar_delegate_android.h
index 7f2fbac1..f805016 100644
--- a/chrome/browser/password_manager/save_password_infobar_delegate_android.h
+++ b/chrome/browser/password_manager/save_password_infobar_delegate_android.h
@@ -52,7 +52,7 @@
private:
// The PasswordFormManager managing the form we're asking the user about,
- // and should update as per her decision.
+ // and should update as per their decision.
std::unique_ptr<password_manager::PasswordFormManager> form_to_save_;
// Used to track the results we get from the info bar.