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

Side by Side Diff: components/sync/device_info/device_info_service_unittest.cc

Issue 2389063002: [Sync] Fixing easy lint violations. (Closed)
Patch Set: Updated 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/device_info/device_info_service.h" 5 #include "components/sync/device_info/device_info_service.h"
6 6
7 #include <algorithm>
7 #include <set> 8 #include <set>
8 #include <utility> 9 #include <utility>
9 10
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 14 #include "base/run_loop.h"
14 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
15 #include "components/sync/api/data_batch.h" 16 #include "components/sync/api/data_batch.h"
16 #include "components/sync/api/data_type_error_handler_mock.h" 17 #include "components/sync/api/data_type_error_handler_mock.h"
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 specifics.set_cache_guid("non-local"); 748 specifics.set_cache_guid("non-local");
748 PushBackEntityChangeAdd(specifics, &change_list); 749 PushBackEntityChangeAdd(specifics, &change_list);
749 service()->ApplySyncChanges(service()->CreateMetadataChangeList(), 750 service()->ApplySyncChanges(service()->CreateMetadataChangeList(),
750 change_list); 751 change_list);
751 EXPECT_EQ(1, service()->CountActiveDevices()); 752 EXPECT_EQ(1, service()->CountActiveDevices());
752 } 753 }
753 754
754 } // namespace 755 } // namespace
755 756
756 } // namespace syncer 757 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/device_info/device_info_service.cc ('k') | components/sync/device_info/device_info_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698