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

Side by Side Diff: components/sync/core/change_record_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. Created 4 years, 2 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
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 #include "components/sync/core/change_record.h" 5 #include "components/sync/core/change_record.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h>
9 8
10 #include <memory>
11 #include <string> 9 #include <string>
12 #include <utility> 10 #include <utility>
13 11
14 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
15 #include "base/test/values_test_util.h" 13 #include "base/test/values_test_util.h"
16 #include "base/values.h" 14 #include "base/values.h"
17 #include "components/sync/protocol/extension_specifics.pb.h" 15 #include "components/sync/protocol/extension_specifics.pb.h"
18 #include "components/sync/protocol/proto_value_conversions.h" 16 #include "components/sync/protocol/proto_value_conversions.h"
19 #include "components/sync/protocol/sync.pb.h"
20 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
22 19
23 namespace syncer { 20 namespace syncer {
24 namespace { 21 namespace {
25 22
26 using base::ExpectDictDictionaryValue; 23 using base::ExpectDictDictionaryValue;
27 using base::ExpectDictStringValue; 24 using base::ExpectDictStringValue;
28 using testing::Invoke; 25 using testing::Invoke;
29 using testing::StrictMock; 26 using testing::StrictMock;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 extra->set_expected_to_value_calls(2U); 151 extra->set_expected_to_value_calls(2U);
155 152
156 record.extra.reset(extra.release()); 153 record.extra.reset(extra.release());
157 std::unique_ptr<base::DictionaryValue> value(record.ToValue()); 154 std::unique_ptr<base::DictionaryValue> value(record.ToValue());
158 CheckChangeRecordValue(record, *value); 155 CheckChangeRecordValue(record, *value);
159 } 156 }
160 } 157 }
161 158
162 } // namespace 159 } // namespace
163 } // namespace syncer 160 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/base/weak_handle_unittest.cc ('k') | components/sync/core/http_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698