Home | History | Annotate | Download | only in proto
      1 // Copyright 2010 Google Inc. All Rights Reserved.
      2 // Author: marcinm (a] google.com (Marcin Mikosik)
      3 
      4 syntax = "proto2";
      5 
      6 option optimize_for = LITE_RUNTIME;
      7 
      8 package userfeedback;
      9 
     10 // Chrome Browser and Chrome OS specific data.
     11 message ChromeData {
     12   // Encapsulates the priorities of Buganizer issues.
     13   enum ChromePlatform {
     14     CHROME_OS = 1;
     15     CHROME_BROWSER = 2;
     16   }
     17 
     18   // What platform has a report been sent from.
     19   optional ChromePlatform chrome_platform = 1 [default = CHROME_OS];
     20 
     21   optional ChromeOsData chrome_os_data = 2;
     22 
     23   optional ChromeBrowserData chrome_browser_data = 3;
     24 }
     25 
     26 message ChromeOsData {
     27   enum ChromeOsCategory {
     28     CONNECTIVITY = 1;
     29     SYNC = 2;
     30     CRASH = 3;
     31     PAGE_FORMATTING_OR_LAYOUT = 4;
     32     EXTENSIONS_OR_APPS = 5;
     33     STANDBY_OR_RESUME = 6;
     34     PHISHING_PAGE = 7;
     35     OTHER = 8;
     36   }
     37 
     38   optional ChromeOsCategory category = 1 [default = OTHER];
     39 }
     40 
     41 message ChromeBrowserData{
     42 
     43   enum ChromeBrowserCategory {
     44     PAGE_FORMATTING_OR_LAYOUT = 1;
     45     PAGES_NOT_LOADING = 2;
     46     PLUGINS = 3;
     47     TABS_OR_WINDOWS = 4;
     48     SYNCED_PREFERENCES = 5;
     49     CRASH = 6;
     50     EXTENSIONS_OR_APPS = 7;
     51     PHISHING_PAGE = 8;
     52     OTHER = 9;
     53   }
     54 
     55   optional ChromeBrowserCategory category = 1 [default = OTHER];
     56 }
     57 
     58