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

Unified Diff: build/android/gyp/test/java/org/chromium/helloworld/HelloWorldPrinter.java

Issue 687633003: Greatly improve (non-android) java support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/gyp/test/java/org/chromium/helloworld/HelloWorldPrinter.java
diff --git a/media/base/cdm_factory.cc b/build/android/gyp/test/java/org/chromium/helloworld/HelloWorldPrinter.java
similarity index 53%
copy from media/base/cdm_factory.cc
copy to build/android/gyp/test/java/org/chromium/helloworld/HelloWorldPrinter.java
index 2714da7ade1ddb54c09dcecfc4f8222e866305ba..b09673e21f4fd488cb8441002486bb5f8fba032d 100644
--- a/media/base/cdm_factory.cc
+++ b/build/android/gyp/test/java/org/chromium/helloworld/HelloWorldPrinter.java
@@ -2,14 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "media/base/cdm_factory.h"
+package org.chromium.helloworld;
-namespace media {
-
-CdmFactory::CdmFactory() {
-}
-
-CdmFactory::~CdmFactory() {
+public class HelloWorldPrinter {
+ public static void print() {
+ System.out.println("Hello, world!");
+ }
}
-} // namespace media
« no previous file with comments | « build/android/gyp/test/java/org/chromium/helloworld/HelloWorldMain.java ('k') | build/android/gyp/write_build_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698