| 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 <list> | 5 #include <list> |
| 6 #include <set> | 6 #include <set> |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 11 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
| 13 #include "chrome/app/chrome_command_ids.h" | 13 #include "chrome/app/chrome_command_ids.h" |
| 14 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
| 15 #include "chrome/browser/chrome_browser_main.h" | 15 #include "chrome/browser/chrome_browser_main.h" |
| 16 #include "chrome/browser/chrome_browser_main_extra_parts.h" | 16 #include "chrome/browser/chrome_browser_main_extra_parts.h" |
| 17 #include "chrome/browser/chrome_content_browser_client.h" | 17 #include "chrome/browser/chrome_content_browser_client.h" |
| 18 #include "chrome/browser/chrome_notification_types.h" | 18 #include "chrome/browser/chrome_notification_types.h" |
| 19 #include "chrome/browser/download/download_browsertest.h" | 19 #include "chrome/browser/download/download_browsertest.h" |
| 20 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" | 20 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" |
| 21 #include "chrome/browser/extensions/extension_apitest.h" | 21 #include "chrome/browser/extensions/extension_apitest.h" |
| 22 #include "chrome/browser/extensions/extension_service.h" | 22 #include "chrome/browser/extensions/extension_service.h" |
| 23 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
| 24 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h" |
| 24 #include "chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.
h" | 25 #include "chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.
h" |
| 25 #include "chrome/browser/tab_contents/render_view_context_menu.h" | |
| 26 #include "chrome/browser/ui/browser.h" | 26 #include "chrome/browser/ui/browser.h" |
| 27 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 27 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 28 #include "chrome/test/base/ui_test_utils.h" | 28 #include "chrome/test/base/ui_test_utils.h" |
| 29 #include "content/public/browser/browser_thread.h" | 29 #include "content/public/browser/browser_thread.h" |
| 30 #include "content/public/browser/render_process_host.h" | 30 #include "content/public/browser/render_process_host.h" |
| 31 #include "content/public/browser/render_view_host.h" | 31 #include "content/public/browser/render_view_host.h" |
| 32 #include "content/public/browser/resource_controller.h" | 32 #include "content/public/browser/resource_controller.h" |
| 33 #include "content/public/browser/resource_dispatcher_host.h" | 33 #include "content/public/browser/resource_dispatcher_host.h" |
| 34 #include "content/public/browser/resource_throttle.h" | 34 #include "content/public/browser/resource_throttle.h" |
| 35 #include "content/public/browser/web_contents.h" | 35 #include "content/public/browser/web_contents.h" |
| (...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 url = GURL(base::StringPrintf( | 715 url = GURL(base::StringPrintf( |
| 716 "http://www.a.com:%d/" | 716 "http://www.a.com:%d/" |
| 717 "extensions/api_test/webnavigation/crash/b.html", | 717 "extensions/api_test/webnavigation/crash/b.html", |
| 718 embedded_test_server()->port())); | 718 embedded_test_server()->port())); |
| 719 ui_test_utils::NavigateToURL(browser(), url); | 719 ui_test_utils::NavigateToURL(browser(), url); |
| 720 | 720 |
| 721 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); | 721 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
| 722 } | 722 } |
| 723 | 723 |
| 724 } // namespace extensions | 724 } // namespace extensions |
| OLD | NEW |