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

Unified Diff: components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/util/TestSource.java

Issue 1142463003: Remove devtools_bridge component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/util/TestSource.java
diff --git a/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/util/TestSource.java b/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/util/TestSource.java
deleted file mode 100644
index 9a53a39f458581633caf8dcbfecefad2e7a6d529..0000000000000000000000000000000000000000
--- a/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/util/TestSource.java
+++ /dev/null
@@ -1,32 +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.components.devtools_bridge.util;
-
-import android.util.JsonReader;
-import android.util.JsonWriter;
-
-import java.io.StringReader;
-import java.io.StringWriter;
-
-/**
- * Helper class for testing JSON-based readers.
- */
-public class TestSource {
- private final StringWriter mSource;
- private final JsonWriter mSourceWriter;
-
- public TestSource() {
- mSource = new StringWriter();
- mSourceWriter = new JsonWriter(mSource);
- }
-
- public JsonReader read() {
- return new JsonReader(new StringReader(mSource.toString()));
- }
-
- public JsonWriter write() {
- return mSourceWriter;
- }
-}
« no previous file with comments | « components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/ui/RemoteInstanceListFragment.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698