| 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "chrome/browser/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
| 9 #include "chrome/browser/extensions/extensions_service.h" | 9 #include "chrome/browser/extensions/extensions_service.h" |
| 10 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
| 11 #include "chrome/common/extensions/extension.h" | 11 #include "chrome/common/extensions/extension.h" |
| 12 #include "chrome/common/notification_details.h" | 12 #include "chrome/common/notification_details.h" |
| 13 #include "chrome/common/notification_observer.h" | 13 #include "chrome/common/notification_observer.h" |
| 14 #include "chrome/common/notification_registrar.h" | 14 #include "chrome/common/notification_registrar.h" |
| 15 #include "chrome/common/notification_type.h" | 15 #include "chrome/common/notification_type.h" |
| 16 #include "chrome/test/in_process_browser_test.h" | 16 #include "chrome/test/in_process_browser_test.h" |
| 17 #include "chrome/test/ui_test_utils.h" | 17 #include "chrome/test/ui_test_utils.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 browser(), | 59 browser(), |
| 60 test_server()->GetURL( | 60 test_server()->GetURL( |
| 61 "files/extensions/convert_web_app/application.html")); | 61 "files/extensions/convert_web_app/application.html")); |
| 62 | 62 |
| 63 if (!installed_extension_) | 63 if (!installed_extension_) |
| 64 ui_test_utils::RunMessageLoop(); | 64 ui_test_utils::RunMessageLoop(); |
| 65 | 65 |
| 66 EXPECT_TRUE(installed_extension_); | 66 EXPECT_TRUE(installed_extension_); |
| 67 EXPECT_TRUE(installed_extension_->is_hosted_app()); | 67 EXPECT_TRUE(installed_extension_->is_hosted_app()); |
| 68 } | 68 } |
| OLD | NEW |