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

Unified Diff: apps/app_shim/app_shim_handler_mac.cc

Issue 586613002: Remove AppsClient::GetLoadedBrowserContexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« apps/DEPS ('K') | « apps/DEPS ('k') | apps/app_window_registry_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_shim/app_shim_handler_mac.cc
diff --git a/apps/app_shim/app_shim_handler_mac.cc b/apps/app_shim/app_shim_handler_mac.cc
index 3153bd4c591dbe02b56bb6dda1068e355fa4a45e..ffd1bc68702e53fdd82180f110cbf92bf9437120 100644
--- a/apps/app_shim/app_shim_handler_mac.cc
+++ b/apps/app_shim/app_shim_handler_mac.cc
@@ -6,6 +6,7 @@
#include <map>
+#include "apps/app_window_registry_util.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/memory/singleton.h"
@@ -16,7 +17,6 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_service.h"
-#include "extensions/browser/app_window/app_window_registry.h"
namespace apps {
@@ -24,7 +24,7 @@ namespace {
void TerminateIfNoAppWindows() {
bool app_windows_left =
- extensions::AppWindowRegistry::IsAppWindowRegisteredInAnyProfile(0);
+ apps::AppWindowRegistryUtil::IsAppWindowRegisteredInAnyProfile(0);
if (!app_windows_left &&
!AppListService::Get(chrome::HOST_DESKTOP_TYPE_NATIVE)
->IsAppListVisible()) {
« apps/DEPS ('K') | « apps/DEPS ('k') | apps/app_window_registry_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698