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

Unified Diff: blimp/client/core/feedback/android/blimp_feedback_data_android.cc

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/blimp_feedback_data_android.cc
diff --git a/blimp/client/core/feedback/android/blimp_feedback_data_android.cc b/blimp/client/core/feedback/android/blimp_feedback_data_android.cc
deleted file mode 100644
index 3bf5976b7d5302e328894d59ef16bb73734f60c5..0000000000000000000000000000000000000000
--- a/blimp/client/core/feedback/android/blimp_feedback_data_android.cc
+++ /dev/null
@@ -1,31 +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.
-
-#include "blimp/client/core/feedback/android/blimp_feedback_data_android.h"
-
-#include "base/android/jni_android.h"
-#include "base/android/jni_array.h"
-#include "blimp/client/core/feedback/blimp_feedback_data.h"
-#include "jni/BlimpFeedbackData_jni.h"
-
-namespace blimp {
-namespace client {
-
-base::android::ScopedJavaLocalRef<jobject> CreateBlimpFeedbackDataJavaObject(
- const std::unordered_map<std::string, std::string>& feedback_data) {
- std::vector<std::string> keys;
- std::vector<std::string> values;
- for (const auto& item : feedback_data) {
- keys.push_back(item.first);
- values.push_back(item.second);
- }
-
- JNIEnv* env = base::android::AttachCurrentThread();
- return Java_BlimpFeedbackData_create(
- env, base::android::ToJavaArrayOfStrings(env, keys),
- base::android::ToJavaArrayOfStrings(env, values));
-}
-
-} // namespace client
-} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698