Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Sync protocol for sending reset reports. | 5 // Sync protocol for sending reset reports. |
| 6 | 6 |
| 7 syntax = "proto2"; | 7 syntax = "proto2"; |
| 8 | 8 |
| 9 package reset_report; | 9 package reset_report; |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 55 message Extension { | 55 message Extension { |
| 56 optional string extension_id = 1; | 56 optional string extension_id = 1; |
| 57 optional string extension_name = 2; | 57 optional string extension_name = 2; |
| 58 } | 58 } |
| 59 | 59 |
| 60 repeated Extension enabled_extensions = 17; | 60 repeated Extension enabled_extensions = 17; |
| 61 | 61 |
| 62 // Full command line (executable and parameters) of shotcuts to start Chrome. | 62 // Full command line (executable and parameters) of shotcuts to start Chrome. |
| 63 repeated string shortcuts = 18; | 63 repeated string shortcuts = 18; |
| 64 | 64 |
| 65 // next available tag number: 19. | 65 // Specified where the request for the settings reset came from. |
|
robertshield
2016/08/10 20:35:41
nit: s/Specified/Specifies/
alito
2016/08/10 21:06:32
Done.
| |
| 66 enum ResetRequestOrigin { | |
| 67 RESET_REQUEST_ORIGIN_UNSPECIFIED = 0; | |
| 68 // User clicked on the reset button on the settings page. | |
| 69 RESET_REQUEST_ORIGIN_USER_CLICK = 1; | |
| 70 // A settings reset was requested by the Chrome Cleanup Tool. | |
| 71 RESET_REQUEST_ORIGIN_CCT = 2; | |
| 72 // The triggered settings reset API was used. | |
| 73 RESET_REQUEST_ORIGIN_TRIGGERED_RESET = 3; | |
| 74 // None of the other cases. Possibly by navigating to | |
| 75 // chrome://settings/resetProfileSettings directly or launching | |
| 76 // chrome with that URL as an argument. | |
| 77 RESET_REQUEST_ORIGIN_UNKNOWN = 4; | |
| 78 } | |
| 79 | |
| 80 optional ResetRequestOrigin reset_request_origin = 19; | |
| 81 | |
| 82 // next available tag number: 20. | |
| 66 } | 83 } |
| OLD | NEW |