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

Side by Side Diff: chrome/browser/sync/protocol/test.proto

Issue 3384024: sync_unit_tests: add test for unknown field retention. (Closed)
Patch Set: Created 10 years, 3 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 (c) 2010 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 // Protocol messages used only for testing.
6
7 syntax = "proto2";
8
9 // TODO(agl): In the future we hope that the lite runtime will be able to
10 // handle unknown fields in messages. Until then, we use the full runtime.
11
12 // option optimize_for = LITE_RUNTIME;
13 // option retain_unknown_fields = true;
14
15 package sync_pb;
16
17 message UnknownFieldsTestA {
18 required bool foo = 1;
19 }
20
21 message UnknownFieldsTestB {
22 required bool foo = 1;
23 required bool bar = 2;
24 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/protocol/sync_proto.gyp ('k') | chrome/browser/sync/util/protobuf_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698