platform_system_core/metricsd/uploader/proto
Bertrand SIMONNET 7dc7827107 metricsd: Rename build_target_id to product_id.
We use product_id instead of build_target_id, the protobuffer should
rename that field too to be consistent.
The same change was made on the backend.

BUG: 24712895
Change-Id: Id9492e3debab986c9df7d4ec0caef8730eb14240
2015-10-06 15:27:37 -07:00
..
chrome_user_metrics_extension.proto metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
histogram_event.proto metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
README metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
system_profile.proto metricsd: Rename build_target_id to product_id. 2015-10-06 15:27:37 -07:00
user_action_event.proto metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00

Copyright (C) 2015 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.




This directory contains the protocol buffers used by the standalone metrics
uploader. Those protobuffers are copied from the chromium protobuffers from
https://chromium.googlesource.com/chromium/src/+/master/components/metrics/proto/
at 3bfe5f2b4c03d2cac718d137ed14cd2c6354bfed.

Any change to this protobuf must first be made to the backend's protobuf and be
compatible with the chromium protobuffers.


Q: Why fork the chromium protobuffers ?
A: The standalone metrics uploader needs chromium os fields that are not defined
by the chromium protobufs. Instead of pushing chromium os specific changes to
chromium, we can add them only to chromium os (and to the backend of course).


Q: What's the difference between those protobuffers and chromium's protobuffers?
A: When the protobuffers were copied, some chromium specific protobuffers were
not imported:
* omnibox related protobuffers.
* performance profiling protobuffers (not used in chromium os).