| Index: components/translate/ios/browser/resources/translate_ios.js
|
| diff --git a/components/translate/ios/browser/resources/translate_ios.js b/components/translate/ios/browser/resources/translate_ios.js
|
| index 9dfda6a4cad253762a8704fedee98a436cc62f83..9b9f3297b657d7629db04d2d6ba1b872ca2979f2 100644
|
| --- a/components/translate/ios/browser/resources/translate_ios.js
|
| +++ b/components/translate/ios/browser/resources/translate_ios.js
|
| @@ -2,7 +2,19 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -__gCrWeb['translate'] = {};
|
| +/**
|
| + * @fileoverview Installs Translate management functions on the __gCrWeb object.
|
| + *
|
| + * TODO(crbug.com/659442): Enable checkTypes, checkVars errors for this file.
|
| + * @suppress {checkTypes, checkVars}
|
| + */
|
| +
|
| +__gCrWeb.translate = {};
|
| +
|
| +// Store translate namespace object in a global __gCrWeb object referenced by a
|
| +// string, so it does not get renamed by closure compiler during the
|
| +// minification.
|
| +__gCrWeb['translate'] = __gCrWeb.translate;
|
|
|
| (function() {
|
| /**
|
|
|