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

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

Issue 583583008: Rename AppsClient -> AppWindowClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix a bit more naming 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
« no previous file with comments | « extensions/browser/app_window/app_window_client.cc ('k') | extensions/browser/app_window/apps_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/app_window_registry.cc
diff --git a/extensions/browser/app_window/app_window_registry.cc b/extensions/browser/app_window/app_window_registry.cc
index 9bc69d3d21322a04bb479b780e8d31a0338963ab..9cd72e967d5cd56cd09f78d23d600b73b5aae222 100644
--- a/extensions/browser/app_window/app_window_registry.cc
+++ b/extensions/browser/app_window/app_window_registry.cc
@@ -15,7 +15,7 @@
#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents.h"
#include "extensions/browser/app_window/app_window.h"
-#include "extensions/browser/app_window/apps_client.h"
+#include "extensions/browser/app_window/app_window_client.h"
#include "extensions/browser/app_window/native_app_window.h"
#include "extensions/browser/extensions_browser_client.h"
#include "extensions/common/extension.h"
@@ -208,7 +208,7 @@ bool AppWindowRegistry::HadDevToolsAttached(
AppWindow* AppWindowRegistry::GetAppWindowForNativeWindowAnyProfile(
gfx::NativeWindow window) {
std::vector<content::BrowserContext*> contexts =
- AppsClient::Get()->GetLoadedBrowserContexts();
+ AppWindowClient::Get()->GetLoadedBrowserContexts();
for (std::vector<content::BrowserContext*>::const_iterator i =
contexts.begin();
i != contexts.end();
@@ -230,7 +230,7 @@ AppWindow* AppWindowRegistry::GetAppWindowForNativeWindowAnyProfile(
bool AppWindowRegistry::IsAppWindowRegisteredInAnyProfile(
int window_type_mask) {
std::vector<content::BrowserContext*> contexts =
- AppsClient::Get()->GetLoadedBrowserContexts();
+ AppWindowClient::Get()->GetLoadedBrowserContexts();
for (std::vector<content::BrowserContext*>::const_iterator i =
contexts.begin();
i != contexts.end();
@@ -259,7 +259,7 @@ bool AppWindowRegistry::IsAppWindowRegisteredInAnyProfile(
// static
void AppWindowRegistry::CloseAllAppWindows() {
std::vector<content::BrowserContext*> contexts =
- AppsClient::Get()->GetLoadedBrowserContexts();
+ AppWindowClient::Get()->GetLoadedBrowserContexts();
for (std::vector<content::BrowserContext*>::const_iterator i =
contexts.begin();
i != contexts.end();
« no previous file with comments | « extensions/browser/app_window/app_window_client.cc ('k') | extensions/browser/app_window/apps_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698