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

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

Issue 2362693003: Add framework for sending feedback for Blimp. (Closed)
Patch Set: Rebased for good measure Created 4 years, 3 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.h
diff --git a/blimp/client/core/feedback/android/blimp_feedback_data_android.h b/blimp/client/core/feedback/android/blimp_feedback_data_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..a58d19987253f5c6bcefbe0773ba9951b5416885
--- /dev/null
+++ b/blimp/client/core/feedback/android/blimp_feedback_data_android.h
@@ -0,0 +1,24 @@
+// 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.
+
+#ifndef BLIMP_CLIENT_CORE_FEEDBACK_ANDROID_BLIMP_FEEDBACK_DATA_ANDROID_H_
+#define BLIMP_CLIENT_CORE_FEEDBACK_ANDROID_BLIMP_FEEDBACK_DATA_ANDROID_H_
+
+#include <string>
+#include <unordered_map>
+
+#include "base/android/scoped_java_ref.h"
+
+namespace blimp {
+namespace client {
+
+// Creates a new BlimpFeedbackData Java object from the data provided in
+// |feedback_data| by copying the values.
+base::android::ScopedJavaLocalRef<jobject> CreateBlimpFeedbackDataJavaObject(
+ const std::unordered_map<std::string, std::string>& feedback_data);
+
+} // namespace client
+} // namespace blimp
+
+#endif // BLIMP_CLIENT_CORE_FEEDBACK_ANDROID_BLIMP_FEEDBACK_DATA_ANDROID_H_
« no previous file with comments | « blimp/client/core/feedback/BUILD.gn ('k') | blimp/client/core/feedback/android/blimp_feedback_data_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698