Index: ios/web_view/public/cwv_translation_controller.h |
diff --git a/ios/web_view/public/cwv_translation_controller.h b/ios/web_view/public/cwv_translation_controller.h |
index 6e9476dece1f0a3c1cc285d61e2be1f9fc41a53c..ee3106649081725778d7c3999c2ca9b73fe042d1 100644 |
--- a/ios/web_view/public/cwv_translation_controller.h |
+++ b/ios/web_view/public/cwv_translation_controller.h |
@@ -52,10 +52,6 @@ CWV_EXPORT |
@property(nonatomic, readonly) |
NSSet<CWVTranslationLanguage*>* supportedLanguages; |
-// Resets all translation policies to default (CWVTranslationPolicyAsk). |
-// Only resets non-incognito settings. |
-+ (void)resetTranslationPolicies; |
- |
// Begins translation on the current page from |sourceLanguage| to |
// |targetLanguage|. These language parameters must be chosen from |
// |supportedLanguages|. Set |userInitiated| to YES if translation |
@@ -74,7 +70,6 @@ CWV_EXPORT |
// Sets or retrieves translation policies associated with a specified language. |
// |pageLanguage| should be the language code of the language. |
-// Not supported in incognito mode. |
- (void)setTranslationPolicy:(CWVTranslationPolicy*)policy |
forPageLanguage:(CWVTranslationLanguage*)pageLanguage; |
- (CWVTranslationPolicy*)translationPolicyForPageLanguage: |
@@ -82,7 +77,6 @@ CWV_EXPORT |
// Sets or retrieves translation policies associated with a specified page. |
// |pageHost| should be the hostname of the website. Must not be empty. |
-// Not supported in incognito mode. |
- (void)setTranslationPolicy:(CWVTranslationPolicy*)policy |
forPageHost:(NSString*)pageHost; |
- (CWVTranslationPolicy*)translationPolicyForPageHost:(NSString*)pageHost; |