| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/strings/stringprintf.h" | 5 #include "base/strings/stringprintf.h" |
| 6 #include "chrome/browser/apps/app_browsertest_util.h" | 6 #include "chrome/browser/apps/app_browsertest_util.h" |
| 7 #include "chrome/test/base/ui_test_utils.h" | |
| 8 #include "content/public/browser/notification_service.h" | 7 #include "content/public/browser/notification_service.h" |
| 9 #include "content/public/browser/render_process_host.h" | 8 #include "content/public/browser/render_process_host.h" |
| 10 #include "content/public/test/browser_test_utils.h" | 9 #include "content/public/test/browser_test_utils.h" |
| 11 #include "content/public/test/test_utils.h" | 10 #include "content/public/test/test_utils.h" |
| 12 #include "extensions/browser/guest_view/guest_view_manager.h" | 11 #include "extensions/browser/guest_view/guest_view_manager.h" |
| 13 #include "extensions/browser/guest_view/guest_view_manager_factory.h" | 12 #include "extensions/browser/guest_view/guest_view_manager_factory.h" |
| 14 #include "extensions/common/switches.h" | 13 #include "extensions/common/switches.h" |
| 15 #include "extensions/test/extension_test_message_listener.h" | 14 #include "extensions/test/extension_test_message_listener.h" |
| 16 #include "net/test/embedded_test_server/embedded_test_server.h" | 15 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 17 #include "net/test/embedded_test_server/http_request.h" | 16 #include "net/test/embedded_test_server/http_request.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 159 |
| 161 // Tests that <appview> correctly processes parameters passed on connect. | 160 // Tests that <appview> correctly processes parameters passed on connect. |
| 162 IN_PROC_BROWSER_TEST_F(AppViewTest, TestAppViewGoodDataShouldSucceed) { | 161 IN_PROC_BROWSER_TEST_F(AppViewTest, TestAppViewGoodDataShouldSucceed) { |
| 163 const extensions::Extension* skeleton_app = | 162 const extensions::Extension* skeleton_app = |
| 164 InstallPlatformApp("app_view/shim/skeleton"); | 163 InstallPlatformApp("app_view/shim/skeleton"); |
| 165 TestHelper("testAppViewGoodDataShouldSucceed", | 164 TestHelper("testAppViewGoodDataShouldSucceed", |
| 166 "app_view/shim", | 165 "app_view/shim", |
| 167 skeleton_app->id(), | 166 skeleton_app->id(), |
| 168 NO_TEST_SERVER); | 167 NO_TEST_SERVER); |
| 169 } | 168 } |
| OLD | NEW |