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

Unified Diff: chrome/browser/sync/internal_api/change_record_unittest.cc

Issue 9460047: sync: remove use of protobuf extensions in protocol to reduce static init overhead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fred's review Created 8 years, 10 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 | « chrome/browser/sync/internal_api/base_node.cc ('k') | chrome/browser/sync/internal_api/syncapi_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/internal_api/change_record_unittest.cc
diff --git a/chrome/browser/sync/internal_api/change_record_unittest.cc b/chrome/browser/sync/internal_api/change_record_unittest.cc
index e9cb3a4f69fea02ba6192e58084adc32554587eb..edb2ae14812446a1e13463a7f0148eb1bb49f63e 100644
--- a/chrome/browser/sync/internal_api/change_record_unittest.cc
+++ b/chrome/browser/sync/internal_api/change_record_unittest.cc
@@ -75,9 +75,9 @@ class MockExtraChangeRecordData
TEST_F(ChangeRecordTest, ChangeRecordToValue) {
sync_pb::EntitySpecifics old_specifics;
- old_specifics.MutableExtension(sync_pb::extension)->set_id("old");
+ old_specifics.mutable_extension()->set_id("old");
sync_pb::EntitySpecifics new_specifics;
- old_specifics.MutableExtension(sync_pb::extension)->set_id("new");
+ old_specifics.mutable_extension()->set_id("new");
const int64 kTestId = 5;
« no previous file with comments | « chrome/browser/sync/internal_api/base_node.cc ('k') | chrome/browser/sync/internal_api/syncapi_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698