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

Unified Diff: chrome/browser/ui/apps/chrome_app_window_client.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/chrome_app_window_client.cc
diff --git a/chrome/browser/ui/apps/chrome_app_window_client.cc b/chrome/browser/ui/apps/chrome_app_window_client.cc
index 3b4120e351ea008d184c3b84c0a943b839a74da6..829d9704a636276310eb2d455cf85eede9ae8044 100644
--- a/chrome/browser/ui/apps/chrome_app_window_client.cc
+++ b/chrome/browser/ui/apps/chrome_app_window_client.cc
@@ -6,9 +6,7 @@
#include "base/memory/singleton.h"
#include "chrome/browser/apps/scoped_keep_alive.h"
-#include "chrome/browser/browser_process.h"
#include "chrome/browser/devtools/devtools_window.h"
-#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/common/extensions/features/feature_channel.h"
#include "extensions/browser/app_window/app_window.h"
#include "extensions/common/extension.h"
@@ -31,14 +29,6 @@ ChromeAppWindowClient* ChromeAppWindowClient::GetInstance() {
LeakySingletonTraits<ChromeAppWindowClient> >::get();
}
-std::vector<content::BrowserContext*>
-ChromeAppWindowClient::GetLoadedBrowserContexts() {
- std::vector<Profile*> profiles =
- g_browser_process->profile_manager()->GetLoadedProfiles();
- return std::vector<content::BrowserContext*>(profiles.begin(),
- profiles.end());
-}
-
extensions::AppWindow* ChromeAppWindowClient::CreateAppWindow(
content::BrowserContext* context,
const extensions::Extension* extension) {

Powered by Google App Engine
This is Rietveld 408576698