| OLD | NEW |
| 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 "chrome/browser/extensions/extension_browsertest.h" | 5 #include "chrome/browser/extensions/extension_browsertest.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "chrome/browser/extensions/updater/extension_updater.h" | 32 #include "chrome/browser/extensions/updater/extension_updater.h" |
| 33 #include "chrome/browser/profiles/profile.h" | 33 #include "chrome/browser/profiles/profile.h" |
| 34 #include "chrome/browser/profiles/profile_manager.h" | 34 #include "chrome/browser/profiles/profile_manager.h" |
| 35 #include "chrome/browser/ui/browser.h" | 35 #include "chrome/browser/ui/browser.h" |
| 36 #include "chrome/browser/ui/browser_window.h" | 36 #include "chrome/browser/ui/browser_window.h" |
| 37 #include "chrome/browser/ui/extensions/application_launch.h" | 37 #include "chrome/browser/ui/extensions/application_launch.h" |
| 38 #include "chrome/browser/ui/extensions/extension_message_bubble_factory.h" | 38 #include "chrome/browser/ui/extensions/extension_message_bubble_factory.h" |
| 39 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 39 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 40 #include "chrome/common/chrome_paths.h" | 40 #include "chrome/common/chrome_paths.h" |
| 41 #include "chrome/common/chrome_switches.h" | 41 #include "chrome/common/chrome_switches.h" |
| 42 #include "components/sync/api/string_ordinal.h" | 42 #include "components/sync/model/string_ordinal.h" |
| 43 #include "components/version_info/version_info.h" | 43 #include "components/version_info/version_info.h" |
| 44 #include "content/public/browser/navigation_controller.h" | 44 #include "content/public/browser/navigation_controller.h" |
| 45 #include "content/public/browser/navigation_entry.h" | 45 #include "content/public/browser/navigation_entry.h" |
| 46 #include "content/public/browser/notification_registrar.h" | 46 #include "content/public/browser/notification_registrar.h" |
| 47 #include "content/public/browser/notification_service.h" | 47 #include "content/public/browser/notification_service.h" |
| 48 #include "content/public/browser/render_view_host.h" | 48 #include "content/public/browser/render_view_host.h" |
| 49 #include "content/public/test/browser_test_utils.h" | 49 #include "content/public/test/browser_test_utils.h" |
| 50 #include "content/public/test/test_utils.h" | 50 #include "content/public/test/test_utils.h" |
| 51 #include "extensions/browser/extension_dialog_auto_confirm.h" | 51 #include "extensions/browser/extension_dialog_auto_confirm.h" |
| 52 #include "extensions/browser/extension_host.h" | 52 #include "extensions/browser/extension_host.h" |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 return extensions::browsertest_util::ExecuteScriptInBackgroundPage( | 638 return extensions::browsertest_util::ExecuteScriptInBackgroundPage( |
| 639 profile(), extension_id, script); | 639 profile(), extension_id, script); |
| 640 } | 640 } |
| 641 | 641 |
| 642 bool ExtensionBrowserTest::ExecuteScriptInBackgroundPageNoWait( | 642 bool ExtensionBrowserTest::ExecuteScriptInBackgroundPageNoWait( |
| 643 const std::string& extension_id, | 643 const std::string& extension_id, |
| 644 const std::string& script) { | 644 const std::string& script) { |
| 645 return extensions::browsertest_util::ExecuteScriptInBackgroundPageNoWait( | 645 return extensions::browsertest_util::ExecuteScriptInBackgroundPageNoWait( |
| 646 profile(), extension_id, script); | 646 profile(), extension_id, script); |
| 647 } | 647 } |
| OLD | NEW |