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

Side by Side Diff: chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
6 #include "base/macros.h" 8 #include "base/macros.h"
7 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" 9 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h"
8 #include "chrome/browser/sync/test/integration/sync_test.h" 10 #include "chrome/browser/sync/test/integration/sync_test.h"
9 #include "chrome/browser/sync/test/integration/wifi_credentials_helper.h" 11 #include "chrome/browser/sync/test/integration/wifi_credentials_helper.h"
10 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
11 #include "components/browser_sync/common/browser_sync_switches.h" 13 #include "components/browser_sync/common/browser_sync_switches.h"
12 #include "components/wifi_sync/wifi_credential.h" 14 #include "components/wifi_sync/wifi_credential.h"
13 #include "components/wifi_sync/wifi_security_class.h" 15 #include "components/wifi_sync/wifi_security_class.h"
14 16
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 67
66 const WifiCredentialSet verifier_credentials = 68 const WifiCredentialSet verifier_credentials =
67 wifi_credentials_helper::GetWifiCredentialsForProfile(verifier()); 69 wifi_credentials_helper::GetWifiCredentialsForProfile(verifier());
68 EXPECT_EQ(1U, verifier_credentials.size()); 70 EXPECT_EQ(1U, verifier_credentials.size());
69 EXPECT_EQ(WifiCredential::MakeSsidBytesForTest(ssid), 71 EXPECT_EQ(WifiCredential::MakeSsidBytesForTest(ssid),
70 verifier_credentials.begin()->ssid()); 72 verifier_credentials.begin()->ssid());
71 73
72 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((profile_index)))); 74 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((profile_index))));
73 EXPECT_TRUE(wifi_credentials_helper::ProfileMatchesVerifier(profile_index)); 75 EXPECT_TRUE(wifi_credentials_helper::ProfileMatchesVerifier(profile_index));
74 } 76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698