Index: base/android/java/src/org/chromium/base/VisibleForTesting.java |
diff --git a/ui/webui/resources/js/template_data_externs.js b/base/android/java/src/org/chromium/base/VisibleForTesting.java |
similarity index 53% |
copy from ui/webui/resources/js/template_data_externs.js |
copy to base/android/java/src/org/chromium/base/VisibleForTesting.java |
index d5b8fb9290617834b5dec4f927f08a3542c391b3..24cbfadfaa0fd7816af097a9b6807d3a99229210 100644 |
--- a/ui/webui/resources/js/template_data_externs.js |
+++ b/base/android/java/src/org/chromium/base/VisibleForTesting.java |
@@ -2,10 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+package org.chromium.base; |
+ |
/** |
- * @fileoverview Externs for |templateData| global. |
- * @externs |
+ * Annotation used to mark code that has wider visibility or present for testing code. |
*/ |
+public @interface VisibleForTesting { |
-/** @type {!Object|undefined} */ |
-var templateData; |
+} |