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

Unified Diff: net/cronet/android/java/src/org/chromium/net/UsedByReflection.java

Issue 230443005: Move cronet from //net into //components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to r262794 Created 6 years, 8 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: net/cronet/android/java/src/org/chromium/net/UsedByReflection.java
diff --git a/net/cronet/android/java/src/org/chromium/net/UsedByReflection.java b/net/cronet/android/java/src/org/chromium/net/UsedByReflection.java
deleted file mode 100644
index 6ae3fbd5684356ca4b0dcb8441a85aa736a0ecc6..0000000000000000000000000000000000000000
--- a/net/cronet/android/java/src/org/chromium/net/UsedByReflection.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2014 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.net;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-
-/**
- * Annotation used for marking methods and fields that are called by reflection.
- * Useful for keeping components that would otherwise be removed by Proguard.
- * Use the value parameter to mention a file that calls this method.
- *
- * Note that adding this annotation to a method is not enough to guarantee that
- * it is kept - either its class must be referenced elsewhere in the program, or
- * the class must be annotated with this as well.
- */
-@Target({
- ElementType.METHOD, ElementType.FIELD, ElementType.TYPE,
- ElementType.CONSTRUCTOR })
-public @interface UsedByReflection {
- String value();
-}

Powered by Google App Engine
This is Rietveld 408576698