OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Stores information about the user's brower and system configuration. | 5 // Stores information about the user's brower and system configuration. |
6 // The system configuration fields are recorded once per client session. | 6 // The system configuration fields are recorded once per client session. |
7 | 7 |
8 syntax = "proto2"; | 8 syntax = "proto2"; |
9 | 9 |
10 option optimize_for = LITE_RUNTIME; | 10 option optimize_for = LITE_RUNTIME; |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 // client_id: | 500 // client_id: |
501 // client_key = client_id % 4096 | 501 // client_key = client_id % 4096 |
502 // Then, each installed extension is mapped into a hash bucket according to | 502 // Then, each installed extension is mapped into a hash bucket according to |
503 // bucket = CityHash64(StringPrintf("%d:%s", | 503 // bucket = CityHash64(StringPrintf("%d:%s", |
504 // client_key, extension_id)) % 1024 | 504 // client_key, extension_id)) % 1024 |
505 // The client reports the set of hash buckets occupied by all installed | 505 // The client reports the set of hash buckets occupied by all installed |
506 // extensions. If multiple extensions map to the same bucket, that bucket is | 506 // extensions. If multiple extensions map to the same bucket, that bucket is |
507 // still only reported once. | 507 // still only reported once. |
508 repeated int32 occupied_extension_bucket = 18; | 508 repeated int32 occupied_extension_bucket = 18; |
509 } | 509 } |
OLD | NEW |