Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3021)

Unified Diff: base/android/java/src/org/chromium/base/VisibleForTesting.java

Issue 528963003: [Android] Add missing @VisibleForTesting annotations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN build Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
+}

Powered by Google App Engine
This is Rietveld 408576698