Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4422)

Unified Diff: chrome/browser/chromeos/login/kiosk_browsertest.cc

Issue 494033002: Move AppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded include in chrome_shell_delegate.cc Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/kiosk_browsertest.cc
diff --git a/chrome/browser/chromeos/login/kiosk_browsertest.cc b/chrome/browser/chromeos/login/kiosk_browsertest.cc
index b2052de6babc089210aa86b80499f959279e2008..6e9061a9226815487bc7185ded01917266d6587f 100644
--- a/chrome/browser/chromeos/login/kiosk_browsertest.cc
+++ b/chrome/browser/chromeos/login/kiosk_browsertest.cc
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "apps/app_window.h"
-#include "apps/app_window_registry.h"
#include "ash/desktop_background/desktop_background_controller.h"
#include "ash/desktop_background/desktop_background_controller_observer.h"
#include "ash/shell.h"
@@ -53,6 +51,8 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_service.h"
#include "content/public/test/browser_test_utils.h"
+#include "extensions/browser/app_window/app_window.h"
+#include "extensions/browser/app_window/app_window_registry.h"
#include "extensions/browser/app_window/native_app_window.h"
#include "extensions/browser/extension_system.h"
#include "google_apis/gaia/gaia_constants.h"
@@ -404,9 +404,9 @@ class KioskTest : public OobeBaseTest {
EXPECT_TRUE(app);
// App should appear with its window.
- apps::AppWindowRegistry* app_window_registry =
- apps::AppWindowRegistry::Get(app_profile);
- apps::AppWindow* window =
+ extensions::AppWindowRegistry* app_window_registry =
+ extensions::AppWindowRegistry::Get(app_profile);
+ extensions::AppWindow* window =
AppWindowWaiter(app_window_registry, test_app_id_).Wait();
EXPECT_TRUE(window);
@@ -1303,9 +1303,10 @@ IN_PROC_BROWSER_TEST_F(KioskEnterpriseTest, EnterpriseKioskApp) {
chromeos::KioskAppLaunchError::Get());
// Wait for the window to appear.
- apps::AppWindow* window =
+ extensions::AppWindow* window =
AppWindowWaiter(
- apps::AppWindowRegistry::Get(ProfileManager::GetPrimaryUserProfile()),
+ extensions::AppWindowRegistry::Get(
+ ProfileManager::GetPrimaryUserProfile()),
kTestEnterpriseKioskApp).Wait();
ASSERT_TRUE(window);

Powered by Google App Engine
This is Rietveld 408576698