| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ash/common/system/tray/system_tray_delegate.h" |
| 5 #include "ash/shell.h" | 6 #include "ash/shell.h" |
| 6 #include "ash/system/cast/tray_cast.h" | 7 #include "ash/system/cast/tray_cast.h" |
| 7 #include "ash/system/tray/system_tray.h" | 8 #include "ash/system/tray/system_tray.h" |
| 8 #include "ash/system/tray/system_tray_delegate.h" | |
| 9 #include "ash/system/tray/system_tray_item.h" | 9 #include "ash/system/tray/system_tray_item.h" |
| 10 #include "ash/test/tray_cast_test_api.h" | 10 #include "ash/test/tray_cast_test_api.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
| 13 #include "chrome/browser/extensions/extension_browsertest.h" | 13 #include "chrome/browser/extensions/extension_browsertest.h" |
| 14 #include "chrome/browser/profiles/profile_manager.h" | 14 #include "chrome/browser/profiles/profile_manager.h" |
| 15 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 15 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 16 #include "content/public/browser/render_view_host.h" | 16 #include "content/public/browser/render_view_host.h" |
| 17 #include "content/public/test/test_utils.h" | 17 #include "content/public/test/test_utils.h" |
| 18 #include "extensions/browser/process_manager.h" | 18 #include "extensions/browser/process_manager.h" |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 cast_config_delegate->LaunchCastOptions(); | 289 cast_config_delegate->LaunchCastOptions(); |
| 290 | 290 |
| 291 const GURL url = | 291 const GURL url = |
| 292 browser()->tab_strip_model()->GetActiveWebContents()->GetURL(); | 292 browser()->tab_strip_model()->GetActiveWebContents()->GetURL(); |
| 293 EXPECT_TRUE(base::StringPiece(url.GetContent()).ends_with("options.html")); | 293 EXPECT_TRUE(base::StringPiece(url.GetContent()).ends_with("options.html")); |
| 294 | 294 |
| 295 UninstallExtension(extension->id()); | 295 UninstallExtension(extension->id()); |
| 296 } | 296 } |
| 297 | 297 |
| 298 } // namespace chromeos | 298 } // namespace chromeos |
| OLD | NEW |