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

Side by Side Diff: components/wifi_sync/wifi_credential_syncable_service_unittest.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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
« no previous file with comments | « components/wifi_sync/wifi_credential_syncable_service.cc ('k') | extensions/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/wifi_sync/wifi_credential_syncable_service.h" 5 #include "components/wifi_sync/wifi_credential_syncable_service.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "base/tracked_objects.h" 17 #include "base/tracked_objects.h"
18 #include "components/sync/api/attachments/attachment_id.h" 18 #include "components/sync/model/attachments/attachment_id.h"
19 #include "components/sync/api/attachments/attachment_service_proxy_for_test.h" 19 #include "components/sync/model/attachments/attachment_service_proxy_for_test.h"
20 #include "components/sync/api/fake_sync_change_processor.h" 20 #include "components/sync/model/fake_sync_change_processor.h"
21 #include "components/sync/api/sync_change.h" 21 #include "components/sync/model/sync_change.h"
22 #include "components/sync/api/sync_data.h" 22 #include "components/sync/model/sync_data.h"
23 #include "components/sync/api/sync_error.h" 23 #include "components/sync/model/sync_error.h"
24 #include "components/sync/api/sync_error_factory_mock.h" 24 #include "components/sync/model/sync_error_factory_mock.h"
25 #include "components/sync/protocol/sync.pb.h" 25 #include "components/sync/protocol/sync.pb.h"
26 #include "components/wifi_sync/wifi_config_delegate.h" 26 #include "components/wifi_sync/wifi_config_delegate.h"
27 #include "components/wifi_sync/wifi_credential.h" 27 #include "components/wifi_sync/wifi_credential.h"
28 #include "components/wifi_sync/wifi_security_class.h" 28 #include "components/wifi_sync/wifi_security_class.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
30 30
31 namespace wifi_sync { 31 namespace wifi_sync {
32 32
33 using syncer::FakeSyncChangeProcessor; 33 using syncer::FakeSyncChangeProcessor;
34 using syncer::SyncErrorFactoryMock; 34 using syncer::SyncErrorFactoryMock;
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 MakeCredential(kSsidNonUtf8, SECURITY_CLASS_NONE, ""))); 334 MakeCredential(kSsidNonUtf8, SECURITY_CLASS_NONE, "")));
335 EXPECT_EQ(1, change_processor_changes_size()); 335 EXPECT_EQ(1, change_processor_changes_size());
336 EXPECT_FALSE( 336 EXPECT_FALSE(
337 AddToSyncedNetworks( 337 AddToSyncedNetworks(
338 "fake-item-id", 338 "fake-item-id",
339 MakeCredential(kSsidNonUtf8, SECURITY_CLASS_NONE, ""))); 339 MakeCredential(kSsidNonUtf8, SECURITY_CLASS_NONE, "")));
340 EXPECT_EQ(1, change_processor_changes_size()); 340 EXPECT_EQ(1, change_processor_changes_size());
341 } 341 }
342 342
343 } // namespace wifi_sync 343 } // namespace wifi_sync
OLDNEW
« no previous file with comments | « components/wifi_sync/wifi_credential_syncable_service.cc ('k') | extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698