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

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

Powered by Google App Engine
This is Rietveld 408576698