OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/browser/extensions/extension_browsertest.h" | 5 #include "chrome/browser/extensions/extension_browsertest.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "chrome/browser/browser.h" | 12 #include "chrome/browser/browser.h" |
13 #include "chrome/browser/browser_window.h" | 13 #include "chrome/browser/browser_window.h" |
14 #include "chrome/browser/location_bar.h" | 14 #include "chrome/browser/location_bar.h" |
15 #include "chrome/browser/extensions/crx_installer.h" | 15 #include "chrome/browser/extensions/crx_installer.h" |
| 16 #include "chrome/browser/extensions/extension_error_reporter.h" |
16 #include "chrome/browser/extensions/extension_host.h" | 17 #include "chrome/browser/extensions/extension_host.h" |
17 #include "chrome/browser/extensions/extension_install_ui.h" | 18 #include "chrome/browser/extensions/extension_install_ui.h" |
18 #include "chrome/browser/extensions/extensions_service.h" | 19 #include "chrome/browser/extensions/extensions_service.h" |
19 #include "chrome/browser/profile.h" | 20 #include "chrome/browser/profile.h" |
20 #include "chrome/common/chrome_switches.h" | 21 #include "chrome/common/chrome_switches.h" |
21 #include "chrome/common/chrome_paths.h" | 22 #include "chrome/common/chrome_paths.h" |
22 #include "chrome/common/extensions/extension_error_reporter.h" | |
23 #include "chrome/common/notification_registrar.h" | 23 #include "chrome/common/notification_registrar.h" |
24 #include "chrome/common/notification_service.h" | 24 #include "chrome/common/notification_service.h" |
25 #include "chrome/common/notification_type.h" | 25 #include "chrome/common/notification_type.h" |
26 #include "chrome/test/ui_test_utils.h" | 26 #include "chrome/test/ui_test_utils.h" |
27 | 27 |
28 ExtensionBrowserTest::ExtensionBrowserTest() | 28 ExtensionBrowserTest::ExtensionBrowserTest() |
29 : target_page_action_count_(-1), | 29 : target_page_action_count_(-1), |
30 target_visible_page_action_count_(-1) { | 30 target_visible_page_action_count_(-1) { |
31 } | 31 } |
32 | 32 |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 MessageLoopForUI::current()->Quit(); | 342 MessageLoopForUI::current()->Quit(); |
343 } | 343 } |
344 break; | 344 break; |
345 } | 345 } |
346 | 346 |
347 default: | 347 default: |
348 NOTREACHED(); | 348 NOTREACHED(); |
349 break; | 349 break; |
350 } | 350 } |
351 } | 351 } |
OLD | NEW |