Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 package browser_watcher; | 9 package browser_watcher; |
| 10 | 10 |
| 11 // The state of the system on which Chrome is running (shutting down, battery | 11 // The state of the system on which Chrome is running (shutting down, battery |
| 12 // level, load, etc.). | 12 // level, load, etc.). |
| 13 // Next id: 1 | 13 // Next id: 2 |
| 14 message SystemState { | 14 message SystemState { |
| 15 // TODO(manzagop): flesh out. | 15 enum SessionState { |
| 16 UNKNOWN = 0; | |
| 17 CLEAN = 1; | |
| 18 UNCLEAN = 2; | |
| 19 } | |
| 20 | |
| 21 // The state of the system session that contained Chrome's execution. | |
|
Sigurður Ásgeirsson
2017/03/06 19:00:09
It's not necessarily obvious what a "system sessio
manzagop (departed)
2017/03/06 21:14:41
Done.
| |
| 22 optional SessionState session_state = 1; | |
| 16 } | 23 } |
| 17 | 24 |
| 18 // Next id: 10 | 25 // Next id: 10 |
| 19 message CodeModule { | 26 message CodeModule { |
| 20 // The base address of this code module as it was loaded by the process. | 27 // The base address of this code module as it was loaded by the process. |
| 21 optional int64 base_address = 1; | 28 optional int64 base_address = 1; |
| 22 | 29 |
| 23 // The size of the code module. | 30 // The size of the code module. |
| 24 optional int64 size = 2; | 31 optional int64 size = 2; |
| 25 | 32 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 177 // command line, etc. | 184 // command line, etc. |
| 178 repeated ProcessState process_states = 2; | 185 repeated ProcessState process_states = 2; |
| 179 // TODO(manzagop): if/when reports contain multiple processes, attribute and | 186 // TODO(manzagop): if/when reports contain multiple processes, attribute and |
| 180 // relocate these to their process (and perhaps thread). | 187 // relocate these to their process (and perhaps thread). |
| 181 repeated string log_messages = 3; | 188 repeated string log_messages = 3; |
| 182 map<string, TypedValue> global_data = 4; | 189 map<string, TypedValue> global_data = 4; |
| 183 | 190 |
| 184 // The field trials the user is currently enrolled in. | 191 // The field trials the user is currently enrolled in. |
| 185 repeated FieldTrial field_trials = 5; | 192 repeated FieldTrial field_trials = 5; |
| 186 } | 193 } |
| OLD | NEW |