OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/macros.h" | 5 #include "base/macros.h" |
6 #include "build/build_config.h" | 6 #include "build/build_config.h" |
7 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" | 7 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" |
8 #include "chrome/browser/sync/test/integration/sync_test.h" | 8 #include "chrome/browser/sync/test/integration/sync_test.h" |
9 #include "chrome/browser/sync/test/integration/themes_helper.h" | 9 #include "chrome/browser/sync/test/integration/themes_helper.h" |
10 #include "components/browser_sync/browser/profile_sync_service.h" | 10 #include "components/browser_sync/profile_sync_service.h" |
11 | 11 |
12 using sync_integration_test_util::AwaitCommitActivityCompletion; | 12 using sync_integration_test_util::AwaitCommitActivityCompletion; |
13 using themes_helper::GetCustomTheme; | 13 using themes_helper::GetCustomTheme; |
14 using themes_helper::GetThemeID; | 14 using themes_helper::GetThemeID; |
15 using themes_helper::UseCustomTheme; | 15 using themes_helper::UseCustomTheme; |
16 using themes_helper::UseDefaultTheme; | 16 using themes_helper::UseDefaultTheme; |
17 using themes_helper::UseSystemTheme; | 17 using themes_helper::UseSystemTheme; |
18 using themes_helper::UsingCustomTheme; | 18 using themes_helper::UsingCustomTheme; |
19 using themes_helper::UsingDefaultTheme; | 19 using themes_helper::UsingDefaultTheme; |
20 using themes_helper::UsingSystemTheme; | 20 using themes_helper::UsingSystemTheme; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 UseDefaultTheme(GetProfile(0)); | 88 UseDefaultTheme(GetProfile(0)); |
89 UseDefaultTheme(verifier()); | 89 UseDefaultTheme(verifier()); |
90 ASSERT_TRUE(UsingDefaultTheme(GetProfile(0))); | 90 ASSERT_TRUE(UsingDefaultTheme(GetProfile(0))); |
91 ASSERT_TRUE(UsingDefaultTheme(verifier())); | 91 ASSERT_TRUE(UsingDefaultTheme(verifier())); |
92 | 92 |
93 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); | 93 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); |
94 | 94 |
95 ASSERT_TRUE(UsingDefaultTheme(GetProfile(0))); | 95 ASSERT_TRUE(UsingDefaultTheme(GetProfile(0))); |
96 ASSERT_TRUE(UsingDefaultTheme(verifier())); | 96 ASSERT_TRUE(UsingDefaultTheme(verifier())); |
97 } | 97 } |
OLD | NEW |