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

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

Issue 709683004: components: add wifi_sync component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@submit-1-security-class
Patch Set: update commit message Created 6 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "base/command_line.h"
6 #include "chrome/browser/sync/test/integration/sync_test.h"
7 #include "chrome/browser/sync/test/integration/wifi_credentials_helper.h"
8 #include "chrome/common/chrome_switches.h"
9
10 class SingleClientWifiCredentialsSyncTest : public SyncTest {
11 public:
12 SingleClientWifiCredentialsSyncTest() : SyncTest(SINGLE_CLIENT) {}
13 virtual ~SingleClientWifiCredentialsSyncTest() {}
stevenjb 2014/11/13 22:55:36 override
mukesh agrawal 2014/11/14 02:14:54 Done.
14
15 void SetUpCommandLine(CommandLine* command_line) override {
16 SyncTest::SetUpCommandLine(command_line);
17 command_line->AppendSwitch(switches::kEnableWifiCredentialSync);
18 }
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(SingleClientWifiCredentialsSyncTest);
22 };
23
24 IN_PROC_BROWSER_TEST_F(SingleClientWifiCredentialsSyncTest, NoCredentials) {
25 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
26 ASSERT_TRUE(wifi_credentials_helper::ServiceMatchesVerifier(0));
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698