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

Unified Diff: components/offline_pages/core/prefetch/proto/any.proto

Issue 2940393002: [Offline Prefetch] Use proto2 syntax for offline prefetch proto (Closed)
Patch Set: Created 3 years, 6 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
Index: components/offline_pages/core/prefetch/proto/any.proto
diff --git a/components/offline_pages/core/prefetch/proto/any.proto b/components/offline_pages/core/prefetch/proto/any.proto
index bc7100281f10f7f667b4f66d92fb229f1bdc82b9..c575c70b81305e3eb214b446e50975e1ff20caaa 100644
--- a/components/offline_pages/core/prefetch/proto/any.proto
+++ b/components/offline_pages/core/prefetch/proto/any.proto
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-syntax = "proto3";
+syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package offline_pages.proto;
message Any {
- string type_url = 1;
- bytes value = 2;
+ optional string type_url = 1;
+ optional bytes value = 2;
}
« no previous file with comments | « components/offline_pages/core/prefetch/BUILD.gn ('k') | components/offline_pages/core/prefetch/proto/offline_pages.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698