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

Unified Diff: extensions/browser/app_window/app_window_registry.h

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: extensions/browser/app_window/app_window_registry.h
diff --git a/extensions/browser/app_window/app_window_registry.h b/extensions/browser/app_window/app_window_registry.h
index 36dd80c9ea5ad8f9e231b9d4de6ad38a614bd296..df9c695c7cab8f3f8b18e28bcfbbac39c2130547 100644
--- a/extensions/browser/app_window/app_window_registry.h
+++ b/extensions/browser/app_window/app_window_registry.h
@@ -100,18 +100,6 @@ class AppWindowRegistry : public KeyedService {
// newly created |render_view_host|.
bool HadDevToolsAttached(content::RenderViewHost* render_view_host) const;
- // Returns the app window for |window|, looking in all browser contexts.
- static AppWindow* GetAppWindowForNativeWindowAnyProfile(
- gfx::NativeWindow window);
-
- // Returns true if the number of app windows registered across all browser
- // contexts is non-zero. |window_type_mask| is a bitwise OR filter of
- // AppWindow::WindowType, or 0 for any window type.
- static bool IsAppWindowRegisteredInAnyProfile(int window_type_mask);
-
- // Close all app windows in all profiles.
- static void CloseAllAppWindows();
-
class Factory : public BrowserContextKeyedServiceFactory {
public:
static AppWindowRegistry* GetForBrowserContext(

Powered by Google App Engine
This is Rietveld 408576698