| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Keep this file in sync with the .proto files in this directory. | 5 // Keep this file in sync with the .proto files in this directory. |
| 6 | 6 |
| 7 #include "components/sync/protocol/proto_value_conversions.h" | 7 #include "components/sync/protocol/proto_value_conversions.h" |
| 8 | 8 |
| 9 #include <memory> | |
| 10 #include <string> | 9 #include <string> |
| 11 | 10 |
| 12 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 13 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 14 #include "base/values.h" | 13 #include "base/values.h" |
| 15 #include "components/sync/base/model_type.h" | 14 #include "components/sync/base/model_type.h" |
| 16 #include "components/sync/protocol/app_notification_specifics.pb.h" | 15 #include "components/sync/protocol/app_notification_specifics.pb.h" |
| 17 #include "components/sync/protocol/app_setting_specifics.pb.h" | 16 #include "components/sync/protocol/app_setting_specifics.pb.h" |
| 18 #include "components/sync/protocol/app_specifics.pb.h" | 17 #include "components/sync/protocol/app_specifics.pb.h" |
| 19 #include "components/sync/protocol/autofill_specifics.pb.h" | 18 #include "components/sync/protocol/autofill_specifics.pb.h" |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 EXPECT_FALSE(ValueHasSpecifics(*(value_without_specifics.get()), | 415 EXPECT_FALSE(ValueHasSpecifics(*(value_without_specifics.get()), |
| 417 "get_updates.entries")); | 416 "get_updates.entries")); |
| 418 } | 417 } |
| 419 | 418 |
| 420 TEST_F(ProtoValueConversionsTest, AttachmentIdProtoToValue) { | 419 TEST_F(ProtoValueConversionsTest, AttachmentIdProtoToValue) { |
| 421 TestSpecificsToValue(AttachmentIdProtoToValue); | 420 TestSpecificsToValue(AttachmentIdProtoToValue); |
| 422 } | 421 } |
| 423 | 422 |
| 424 } // namespace | 423 } // namespace |
| 425 } // namespace syncer | 424 } // namespace syncer |
| OLD | NEW |