Bertrand SIMONNET | 52e5b99 | 2015-08-10 15:18:00 -0700 | [diff] [blame] | 1 | Copyright (C) 2015 The Android Open Source Project |
| 2 | |
| 3 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | you may not use this file except in compliance with the License. |
| 5 | You may obtain a copy of the License at |
| 6 | |
| 7 | http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | |
| 9 | Unless required by applicable law or agreed to in writing, software |
| 10 | distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | See the License for the specific language governing permissions and |
| 13 | limitations under the License. |
| 14 | |
| 15 | |
Bertrand SIMONNET | c95440e | 2015-07-16 17:16:51 -0700 | [diff] [blame] | 16 | |
| 17 | |
| 18 | This directory contains the protocol buffers used by the standalone metrics |
| 19 | uploader. Those protobuffers are copied from the chromium protobuffers from |
| 20 | https://chromium.googlesource.com/chromium/src/+/master/components/metrics/proto/ |
| 21 | at 3bfe5f2b4c03d2cac718d137ed14cd2c6354bfed. |
| 22 | |
| 23 | Any change to this protobuf must first be made to the backend's protobuf and be |
| 24 | compatible with the chromium protobuffers. |
| 25 | |
| 26 | |
| 27 | Q: Why fork the chromium protobuffers ? |
| 28 | A: The standalone metrics uploader needs chromium os fields that are not defined |
| 29 | by the chromium protobufs. Instead of pushing chromium os specific changes to |
| 30 | chromium, we can add them only to chromium os (and to the backend of course). |
| 31 | |
| 32 | |
| 33 | Q: What's the difference between those protobuffers and chromium's protobuffers? |
| 34 | A: When the protobuffers were copied, some chromium specific protobuffers were |
| 35 | not imported: |
| 36 | * omnibox related protobuffers. |
| 37 | * performance profiling protobuffers (not used in chromium os). |