Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: components/download/internal/proto/scheduling.proto

Issue 2881173003: Download Service : Added leveldb proto layer (Closed)
Patch Set: comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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
5 syntax = "proto2";
6
7 option optimize_for = LITE_RUNTIME;
8
9 package protodb;
10
11 // Stores the scheduling params associated with a download request.
12 message SchedulingParams {
13 // This should stay in sync with the NetworkRequirements enum
14 // (components/download/public/download_params.h).
15 enum NetworkRequirements {
16 NONE = 0;
17 OPTIMISTIC = 1;
18 UNMETERED = 2;
19 }
20
21 // This should stay in sync with the BatteryRequirements enum
22 // (components/download/public/download_params.h).
23 enum BatteryRequirements {
24 BATTERY_INSENSITIVE = 0;
25 BATTERY_SENSITIVE = 1;
26 }
27
28 // This should stay in sync with the Priority enum
29 // (components/download/public/download_params.h).
30 enum Priority {
31 LOW = 0;
32 NORMAL = 1;
33 HIGH = 2;
34 UI = 3;
35 }
36
37 optional int64 cancel_time_utc = 2;
David Trainor- moved to gerrit 2017/05/19 19:07:05 utc_ms or something?
shaktisahu 2017/05/20 03:35:58 Done.
38 optional Priority priority = 3;
39 optional NetworkRequirements network_requirements = 4;
40 optional BatteryRequirements battery_requirements = 5;
41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698