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

Unified Diff: components/download/internal/proto/request.proto

Issue 2881173003: Download Service : Added leveldb proto layer (Closed)
Patch Set: Removed Model::Destroy 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/download/internal/proto/entry.proto ('k') | components/download/internal/proto/scheduling.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/download/internal/proto/request.proto
diff --git a/components/download/internal/proto/request.proto b/components/download/internal/proto/request.proto
new file mode 100644
index 0000000000000000000000000000000000000000..173c6856182bdea5e684203cb78ca75194966968
--- /dev/null
+++ b/components/download/internal/proto/request.proto
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package protodb;
+
+message RequestHeader {
+ optional string key = 1;
+ optional string value = 2;
+}
+
+// Stores the HTTP request params associated with a download request.
+message RequestParams {
+ optional string url = 1;
+ optional string method = 2;
+ repeated RequestHeader headers = 3;
+}
« no previous file with comments | « components/download/internal/proto/entry.proto ('k') | components/download/internal/proto/scheduling.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698