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

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

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "chrome/browser/sync/test/integration/extensions_helper.h" 6 #include "chrome/browser/sync/test/integration/extensions_helper.h"
7 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" 7 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
8 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" 8 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h"
9 #include "chrome/browser/sync/test/integration/sync_test.h" 9 #include "chrome/browser/sync/test/integration/sync_test.h"
10 10
11 using extensions_helper::AwaitAllProfilesHaveSameExtensionsAsVerifier; 11 using extensions_helper::AwaitAllProfilesHaveSameExtensionsAsVerifier;
12 using extensions_helper::AllProfilesHaveSameExtensionsAsVerifier; 12 using extensions_helper::AllProfilesHaveSameExtensionsAsVerifier;
13 using extensions_helper::DisableExtension; 13 using extensions_helper::DisableExtension;
14 using extensions_helper::EnableExtension; 14 using extensions_helper::EnableExtension;
15 using extensions_helper::HasSameExtensionsAsVerifier; 15 using extensions_helper::HasSameExtensionsAsVerifier;
16 using extensions_helper::IncognitoDisableExtension; 16 using extensions_helper::IncognitoDisableExtension;
17 using extensions_helper::IncognitoEnableExtension; 17 using extensions_helper::IncognitoEnableExtension;
18 using extensions_helper::InstallExtension; 18 using extensions_helper::InstallExtension;
19 using extensions_helper::UninstallExtension; 19 using extensions_helper::UninstallExtension;
20 20
21 class TwoClientExtensionsSyncTest : public SyncTest { 21 class TwoClientExtensionsSyncTest : public SyncTest {
22 public: 22 public:
23 TwoClientExtensionsSyncTest() : SyncTest(TWO_CLIENT) {} 23 TwoClientExtensionsSyncTest() : SyncTest(TWO_CLIENT) {}
24 24
25 virtual ~TwoClientExtensionsSyncTest() {} 25 virtual ~TwoClientExtensionsSyncTest() {}
26 virtual bool TestUsesSelfNotifications() OVERRIDE { return false; } 26 virtual bool TestUsesSelfNotifications() override { return false; }
27 27
28 private: 28 private:
29 DISALLOW_COPY_AND_ASSIGN(TwoClientExtensionsSyncTest); 29 DISALLOW_COPY_AND_ASSIGN(TwoClientExtensionsSyncTest);
30 }; 30 };
31 31
32 IN_PROC_BROWSER_TEST_F(TwoClientExtensionsSyncTest, StartWithNoExtensions) { 32 IN_PROC_BROWSER_TEST_F(TwoClientExtensionsSyncTest, StartWithNoExtensions) {
33 ASSERT_TRUE(SetupSync()); 33 ASSERT_TRUE(SetupSync());
34 ASSERT_TRUE(AwaitAllProfilesHaveSameExtensionsAsVerifier()); 34 ASSERT_TRUE(AwaitAllProfilesHaveSameExtensionsAsVerifier());
35 } 35 }
36 36
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 ASSERT_TRUE(AwaitAllProfilesHaveSameExtensionsAsVerifier()); 198 ASSERT_TRUE(AwaitAllProfilesHaveSameExtensionsAsVerifier());
199 199
200 UninstallExtension(GetProfile(0), 0); 200 UninstallExtension(GetProfile(0), 0);
201 UninstallExtension(verifier(), 0); 201 UninstallExtension(verifier(), 0);
202 202
203 ASSERT_TRUE(AwaitAllProfilesHaveSameExtensionsAsVerifier()); 203 ASSERT_TRUE(AwaitAllProfilesHaveSameExtensionsAsVerifier());
204 } 204 }
205 205
206 // TODO(akalin): Add tests exercising: 206 // TODO(akalin): Add tests exercising:
207 // - Offline installation/uninstallation behavior 207 // - Offline installation/uninstallation behavior
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698