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

Unified Diff: chrome/browser/extensions/bundle_installer.cc

Issue 1659203002: Remove HostDesktopType from FindLastActive[WithProfile] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nullptr Created 4 years, 11 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/extensions/bundle_installer.cc
diff --git a/chrome/browser/extensions/bundle_installer.cc b/chrome/browser/extensions/bundle_installer.cc
index c7105596c917eb2a4dcfedad2841dcac6470d6bb..a0762a7fc293ed7e675b7c94913dd6c2378dafa7 100644
--- a/chrome/browser/extensions/bundle_installer.cc
+++ b/chrome/browser/extensions/bundle_installer.cc
@@ -112,7 +112,6 @@ BundleInstaller::BundleInstaller(Browser* browser,
icon_(icon),
authuser_(authuser),
delegated_username_(delegated_username),
- host_desktop_type_(browser->host_desktop_type()),
profile_(browser->profile()),
weak_factory_(this) {
BrowserList::AddObserver(this);
@@ -279,7 +278,7 @@ void BundleInstaller::ShowPrompt() {
if (!browser) {
// The browser that we got initially could have gone away during our
// thread hopping.
- browser = chrome::FindLastActiveWithProfile(profile_, host_desktop_type_);
+ browser = chrome::FindLastActiveWithProfile(profile_);
}
content::WebContents* web_contents = NULL;
if (browser)
« no previous file with comments | « chrome/browser/extensions/bundle_installer.h ('k') | chrome/browser/extensions/extension_error_ui_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698