1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5syntax = "proto2"; 6 7option optimize_for = LITE_RUNTIME; 8 9package userfeedback; 10 11// Chrome Browser and Chrome OS specific data. 12message ChromeData { 13 // Encapsulates the priorities of Buganizer issues. 14 enum ChromePlatform { 15 CHROME_OS = 1; 16 CHROME_BROWSER = 2; 17 } 18 19 // What platform has a report been sent from. 20 optional ChromePlatform chrome_platform = 1 [default = CHROME_OS]; 21 22 optional ChromeOsData chrome_os_data = 2; 23 24 optional ChromeBrowserData chrome_browser_data = 3; 25} 26 27message ChromeOsData { 28 enum ChromeOsCategory { 29 CONNECTIVITY = 1; 30 SYNC = 2; 31 CRASH = 3; 32 PAGE_FORMATTING_OR_LAYOUT = 4; 33 EXTENSIONS_OR_APPS = 5; 34 STANDBY_OR_RESUME = 6; 35 PHISHING_PAGE = 7; 36 OTHER = 8; 37 AUTOFILL = 9; 38 } 39 40 optional ChromeOsCategory category = 1 [default = OTHER]; 41} 42 43message ChromeBrowserData{ 44 45 enum ChromeBrowserCategory { 46 PAGE_FORMATTING_OR_LAYOUT = 1; 47 PAGES_NOT_LOADING = 2; 48 PLUGINS = 3; 49 TABS_OR_WINDOWS = 4; 50 SYNCED_PREFERENCES = 5; 51 CRASH = 6; 52 EXTENSIONS_OR_APPS = 7; 53 PHISHING_PAGE = 8; 54 OTHER = 9; 55 AUTOFILL = 10; 56 } 57 58 optional ChromeBrowserCategory category = 1 [default = OTHER]; 59} 60 61