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

Unified Diff: chrome/browser/ui/apps/apps_metro_handler_win.cc

Issue 586613002: Remove AppsClient::GetLoadedBrowserContexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to chrome/browser/apps Created 6 years, 3 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/ui/apps/apps_metro_handler_win.cc
diff --git a/chrome/browser/ui/apps/apps_metro_handler_win.cc b/chrome/browser/ui/apps/apps_metro_handler_win.cc
index 49af8e8f7cc1843bbcd3926f5dbc8b3e67310663..e4d1c0e4011c948882f969c7b3a4754f4862f562 100644
--- a/chrome/browser/ui/apps/apps_metro_handler_win.cc
+++ b/chrome/browser/ui/apps/apps_metro_handler_win.cc
@@ -5,11 +5,11 @@
#include "chrome/browser/ui/apps/apps_metro_handler_win.h"
#include "chrome/app/chrome_command_ids.h"
+#include "chrome/browser/apps/app_window_registry_util.h"
#include "chrome/browser/ui/simple_message_box.h"
#include "chrome/grit/chromium_strings.h"
#include "chrome/grit/generated_resources.h"
#include "extensions/browser/app_window/app_window.h"
-#include "extensions/browser/app_window/app_window_registry.h"
#include "ui/base/l10n/l10n_util.h"
bool VerifyASHSwitchForApps(gfx::NativeWindow parent_window,
@@ -17,7 +17,7 @@ bool VerifyASHSwitchForApps(gfx::NativeWindow parent_window,
DCHECK(win_restart_command_id == IDC_WIN_DESKTOP_RESTART ||
win_restart_command_id == IDC_WIN8_METRO_RESTART ||
win_restart_command_id == IDC_WIN_CHROMEOS_RESTART);
- if (!extensions::AppWindowRegistry::IsAppWindowRegisteredInAnyProfile(
+ if (!AppWindowRegistryUtil::IsAppWindowRegisteredInAnyProfile(
extensions::AppWindow::WINDOW_TYPE_DEFAULT)) {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698