Commit 4c5b5426 authored by Hiroshi Ichikawa's avatar Hiroshi Ichikawa Committed by Commit Bot

Update comment to reflect crrev.com/c/1597120.

Change-Id: Id1bed24f06e21d4bf7a61d139d528122810a3e46
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928389Reviewed-by: default avatarJohn Wu <jzw@chromium.org>
Reviewed-by: default avataranthonyvd <anthonyvd@chromium.org>
Commit-Queue: Hiroshi Ichikawa <ichikawa@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719017}
parent 90fabb9a
...@@ -173,7 +173,7 @@ class TranslatePrefs { ...@@ -173,7 +173,7 @@ class TranslatePrefs {
std::string GetCountry() const; std::string GetCountry() const;
// Resets the blocked languages list, the sites blacklist, the languages // Resets the blocked languages list, the sites blacklist, the languages
// whitelist, and the accepted/denied counts. // whitelist, the accepted/denied counts, and whether Translate is enabled.
void ResetToDefaults(); void ResetToDefaults();
bool IsBlockedLanguage(const std::string& original_language) const; bool IsBlockedLanguage(const std::string& original_language) const;
......
...@@ -25,9 +25,10 @@ CWV_EXPORT ...@@ -25,9 +25,10 @@ CWV_EXPORT
- (instancetype)init NS_UNAVAILABLE; - (instancetype)init NS_UNAVAILABLE;
// Resets all translation settings back to default. In particular, this will // Resets all translation settings back to default. In particular, this will
// change all translation policies back to CWVTranslationPolicyAsk. // change all translation policies back to CWVTranslationPolicyAsk, and set
// Because translate settings are shared from incognito to non-incognito, this // |translationEnabled| to YES. Because translate settings are shared from
// has no effect if this instance is from an incognito CWVWebViewConfiguration. // incognito to non-incognito, this has no effect if this instance is from an
// incognito CWVWebViewConfiguration.
- (void)resetTranslationSettings; - (void)resetTranslationSettings;
@end @end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment