| 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 "chrome/test/automation/automation_proxy.h" | 5 #include "chrome/test/automation/automation_proxy.h" |
| 6 #include "chrome/test/automation/browser_proxy.h" | 6 #include "chrome/test/automation/browser_proxy.h" |
| 7 #include "chrome/test/automation/extension_proxy.h" | 7 #include "chrome/test/automation/extension_proxy.h" |
| 8 #include "chrome/test/automation/tab_proxy.h" | 8 #include "chrome/test/automation/tab_proxy.h" |
| 9 #include "chrome/test/ui/ui_test.h" | 9 #include "chrome/test/ui/ui_test.h" |
| 10 #include "net/test/test_server.h" | 10 #include "net/test/test_server.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 theme = automation()->InstallExtension( | 42 theme = automation()->InstallExtension( |
| 43 test_data_directory_.AppendASCII("extensions").AppendASCII("theme2.crx"), | 43 test_data_directory_.AppendASCII("extensions").AppendASCII("theme2.crx"), |
| 44 true); | 44 true); |
| 45 ASSERT_TRUE(theme != NULL); | 45 ASSERT_TRUE(theme != NULL); |
| 46 EXPECT_TRUE(tab_2->WaitForInfoBarCount(1)); | 46 EXPECT_TRUE(tab_2->WaitForInfoBarCount(1)); |
| 47 EXPECT_TRUE(tab_1->WaitForInfoBarCount(0)); | 47 EXPECT_TRUE(tab_1->WaitForInfoBarCount(0)); |
| 48 | 48 |
| 49 EXPECT_TRUE(automation()->ResetToDefaultTheme()); | 49 EXPECT_TRUE(automation()->ResetToDefaultTheme()); |
| 50 EXPECT_TRUE(tab_2->WaitForInfoBarCount(0)); | 50 EXPECT_TRUE(tab_2->WaitForInfoBarCount(0)); |
| 51 } | 51 } |
| OLD | NEW |