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

Unified Diff: build/android/buildhooks/java/org/chromium/buildhooks/Callback.java

Issue 2971063003: Handle Java assert using a customized function in base (Closed)
Patch Set: fix tests Created 3 years, 5 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: build/android/buildhooks/java/org/chromium/buildhooks/Callback.java
diff --git a/build/android/buildhooks/java/org/chromium/buildhooks/Callback.java b/build/android/buildhooks/java/org/chromium/buildhooks/Callback.java
new file mode 100644
index 0000000000000000000000000000000000000000..ddc356424e3145430768740705d0113d64d10ca7
--- /dev/null
+++ b/build/android/buildhooks/java/org/chromium/buildhooks/Callback.java
@@ -0,0 +1,10 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.buildhooks;
+
+/**
+ * Callback interface.
+ */
+public interface Callback<T> { void run(T arg); }

Powered by Google App Engine
This is Rietveld 408576698