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