-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enable translate for Android * Make kOfferTranslateEnabled unsyncable * Update chromium_src/components/translate/core/browser/translate_manager.cc
- Loading branch information
Showing
6 changed files
with
32 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc | ||
index d70f76650ce3d2c380e81751f0fa039ec2894ad9..a2f87acfa34cfa6b59c2150baeb7a85af1048021 100644 | ||
--- a/chrome/browser/ui/browser_ui_prefs.cc | ||
+++ b/chrome/browser/ui/browser_ui_prefs.cc | ||
@@ -78,7 +78,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) { | ||
registry->RegisterBooleanPref(prefs::kWebAppCreateInQuickLaunchBar, true); | ||
registry->RegisterBooleanPref( | ||
translate::prefs::kOfferTranslateEnabled, true, | ||
- user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); | ||
+ user_prefs::PrefRegistrySyncable::NO_REGISTRATION_FLAGS); | ||
registry->RegisterStringPref(prefs::kCloudPrintEmail, std::string()); | ||
registry->RegisterBooleanPref(prefs::kCloudPrintProxyEnabled, true); | ||
registry->RegisterBooleanPref(prefs::kCloudPrintSubmitEnabled, true); |