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

Unified Diff: athena/extensions/shell/athena_shell_apps_client.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
Index: athena/extensions/shell/athena_shell_apps_client.cc
diff --git a/athena/extensions/shell/athena_shell_apps_client.cc b/athena/extensions/shell/athena_shell_apps_client.cc
index cedc002a0d1965b14c2e56c088453c947169492c..9cfa62d1b8a8cc61fd4b6f4b2000e3e7d5dad7b2 100644
--- a/athena/extensions/shell/athena_shell_apps_client.cc
+++ b/athena/extensions/shell/athena_shell_apps_client.cc
@@ -9,20 +9,12 @@
namespace athena {
-AthenaShellAppsClient::AthenaShellAppsClient(content::BrowserContext* context)
- : context_(context) {
- DCHECK(context_);
+AthenaShellAppsClient::AthenaShellAppsClient() {
}
AthenaShellAppsClient::~AthenaShellAppsClient() {
}
-std::vector<content::BrowserContext*>
-AthenaShellAppsClient::GetLoadedBrowserContexts() {
- std::vector<content::BrowserContext*> contexts(1, context_);
- return contexts;
-}
-
extensions::AppWindow* AthenaShellAppsClient::CreateAppWindow(
content::BrowserContext* context,
const extensions::Extension* extension) {

Powered by Google App Engine
This is Rietveld 408576698