DescriptionAdd framework for sending feedback for Blimp.
Before this CL, there was never any information about Blimp included in
the feedback data provided to HelpAndFeedback. This CL adds a framework
for adding such feedback data. The only field that is currently set
is whether Blimp is supported or not, and it is not there unless Blimp
is supported.
The feedback collection is cross-platform, but it is currently only
used for Android, and initiated from Java in the FeedbackCollector.
The data needs to end up as a Bundle with only <String, String> data,
so the cross platform code also uses a map of strings as keys and
values.
The JNI-bridge code takes the source map and converts it into a Java
object holding a Map<String, String> which is provided to the
FeedbackCollector. There is no additional business logic in Java.
Since there is no way to pass for example std::unordered_map from C++
to Java, the keys and values are passed as simple Java-arrays
during construction of the Java object instead. After the Java
object has been constructed, it lives on its own and does not require
access to functions in C++.
BUG=637988
Committed: https://crrev.com/d98c5c13457fae21894b7413b7407eb0e74d76e1
Cr-Commit-Position: refs/heads/master@{#421136}
Patch Set 1 #Patch Set 2 : Self review #Patch Set 3 : Fix Java conversion code and some naming #Patch Set 4 : Fix extern constants #
Total comments: 4
Patch Set 5 : Addressed comments from dtrainor #Patch Set 6 : Rebased for good measure #Dependent Patchsets: Messages
Total messages: 20 (13 generated)
|