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

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: 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: 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 7e0c35c2b8d8dcf52235cac219b2ae245485b7f1..a5ce350ab7ce0ad41654e1379cecd632d5cccc3d 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -22,6 +22,7 @@
#include "base/strings/string_split.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
+#include "chrome/browser/apps/app_window_registry_util.h"
#include "chrome/browser/autofill/personal_data_manager_factory.h"
#include "chrome/browser/autofill/validation_rules_storage_factory.h"
#include "chrome/browser/browser_process.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(
+ AppWindowRegistryUtil::GetAppWindowForNativeWindowAnyProfile(
native_window);
return app_window->GetBaseWindow();
}

Powered by Google App Engine
This is Rietveld 408576698