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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.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: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
index 11521798736f710938421e7022d8852f4f5c1424..9860eafbeaf3f541712c7c10c84bbf92a66d851b 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -8,6 +8,7 @@
#include <map>
#include <string>
+#include "apps/app_window_registry_util.h"
#include "base/base64.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -76,7 +77,6 @@
#include "content/public/browser/web_contents.h"
#include "content/public/common/url_constants.h"
#include "extensions/browser/app_window/app_window.h"
-#include "extensions/browser/app_window/app_window_registry.h"
#include "extensions/browser/app_window/native_app_window.h"
#include "grit/component_scaled_resources.h"
#include "grit/components_strings.h"
@@ -258,7 +258,7 @@ ui::BaseWindow* GetBaseWindowForWebContents(
gfx::NativeWindow native_window = web_contents->GetTopLevelNativeWindow();
extensions::AppWindow* app_window =
- extensions::AppWindowRegistry::GetAppWindowForNativeWindowAnyProfile(
+ apps::AppWindowRegistryUtil::GetAppWindowForNativeWindowAnyProfile(
native_window);
return app_window->GetBaseWindow();
}

Powered by Google App Engine
This is Rietveld 408576698