Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_WEB_VIEW_INTERNAL_TRANSLATE_CWV_TRANSLATION_CONFIGURATION_H_ | |
| 6 #define IOS_WEB_VIEW_INTERNAL_TRANSLATE_CWV_TRANSLATION_CONFIGURATION_H_ | |
| 7 | |
| 8 #import "ios/web_view/public/cwv_translation_configuration.h" | |
| 9 | |
| 10 class PrefService; | |
| 11 | |
| 12 // Internal methods to hide C++ details. | |
|
Eugene But (OOO till 7-30)
2017/07/14 00:22:43
nit: Do we need this comment? Technically category
jzw1
2017/07/14 02:09:49
Done.
| |
| 13 @interface CWVTranslationConfiguration () | |
| 14 | |
| 15 // Takes a PrefService object used to modify settings. | |
|
Eugene But (OOO till 7-30)
2017/07/14 00:22:43
Please document that callers are responsible for k
jzw1
2017/07/14 02:09:49
Done.
| |
| 16 - (instancetype)initWithPrefService:(PrefService*)prefService | |
| 17 NS_DESIGNATED_INITIALIZER; | |
| 18 | |
| 19 @end | |
| 20 | |
| 21 #endif // IOS_WEB_VIEW_INTERNAL_TRANSLATE_CWV_TRANSLATION_CONFIGURATION_H_ | |
| OLD | NEW |