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

Unified Diff: blimp/client/core/feedback/android/java/src/org/chromium/blimp/core/feedback/BlimpFeedbackData.java

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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: blimp/client/core/feedback/android/java/src/org/chromium/blimp/core/feedback/BlimpFeedbackData.java
diff --git a/blimp/client/core/feedback/android/java/src/org/chromium/blimp/core/feedback/BlimpFeedbackData.java b/blimp/client/core/feedback/android/java/src/org/chromium/blimp/core/feedback/BlimpFeedbackData.java
deleted file mode 100644
index b68aa1cd7b7ae8754fda50268b4c8e9fccb49620..0000000000000000000000000000000000000000
--- a/blimp/client/core/feedback/android/java/src/org/chromium/blimp/core/feedback/BlimpFeedbackData.java
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2016 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.blimp.core.feedback;
-
-import org.chromium.base.annotations.CalledByNative;
-import org.chromium.base.annotations.JNINamespace;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * BlimpFeedbackData is used to gather data that would be helpful for an end user feedback
- * report. It is created and populated from native code.
- */
-@JNINamespace("blimp::client")
-public class BlimpFeedbackData {
- /**
- * Create a BlimpFeedbackData object.
- */
- @CalledByNative
- private static BlimpFeedbackData create(String[] keys, String[] values) {
- return new BlimpFeedbackData(keys, values);
- }
-
- private final Map<String, String> mData;
-
- private BlimpFeedbackData(String[] keys, String[] values) {
- if (keys == null || values == null || keys.length != values.length) {
- throw new IllegalStateException("Invalid feedback data.");
- }
- mData = new HashMap<>();
- for (int i = 0; i < keys.length; ++i) {
- mData.put(keys[i], values[i]);
- }
- }
-
- /**
- * Builds and returns the feedback data map.
- * @return the feedback data.
- */
- public Map<String, String> asMap() {
- return mData;
- }
-}
« no previous file with comments | « blimp/client/core/feedback/android/blimp_feedback_data_android.cc ('k') | blimp/client/core/feedback/blimp_feedback_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698