| 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 // Specifies where the request for the settings reset came from. |
| 66 enum ResetRequestOrigin { |
| 67 RESET_REQUEST_ORIGIN_UNSPECIFIED = 0; |
| 68 // None of the other cases. Possibly by navigating to |
| 69 // chrome://settings/resetProfileSettings directly or launching |
| 70 // chrome with that URL as an argument. |
| 71 RESET_REQUEST_ORIGIN_UNKNOWN = 1; |
| 72 // User clicked on the reset button on the settings page. |
| 73 RESET_REQUEST_ORIGIN_USER_CLICK = 2; |
| 74 // A settings reset was requested by the Chrome Cleanup Tool. |
| 75 RESET_REQUEST_ORIGIN_CCT = 3; |
| 76 // The triggered settings reset API was used. |
| 77 RESET_REQUEST_ORIGIN_TRIGGERED_RESET = 4; |
| 78 } |
| 79 |
| 80 optional ResetRequestOrigin reset_request_origin = 19; |
| 81 |
| 82 // next available tag number: 20. |
| 66 } | 83 } |
| OLD | NEW |