tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

recent_settings_searches.proto (730B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 syntax = "proto3";
      6 
      7 package proto;
      8 
      9 option java_package = "org.mozilla.fenix.settings.datastore";
     10 option java_multiple_files = true;
     11 
     12 // Represents the entire collection of recent searches
     13 message RecentSettingsSearches {
     14    repeated RecentSettingsSearchItem items = 1;
     15 }
     16 
     17 // Represents a single recent settings search item
     18 message RecentSettingsSearchItem {
     19    string preference_key = 1;
     20    string title = 2;
     21    string summary = 3;
     22    int32 xml_resource_id = 4; // We only need the ID to reconstruct the full object
     23 }