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

Unified Diff: chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc

Issue 113653004: Removing GitDefaultProfile occurences from the remaining WebUI areas (mobile & test) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « no previous file | chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc
diff --git a/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc b/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc
index 6a8dd28ac328bda64a87a3b2fe5544619a9401f3..3035cc66a30320c6d753aad81a0845568677c184 100644
--- a/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc
+++ b/chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc
@@ -98,10 +98,10 @@ void MobileSetupDialogDelegate::ShowDialog(const std::string& service_path) {
if (login_view)
parent = login_view->GetNativeWindow();
}
-
+ // Only the primary user can change this.
Nikita (slow) 2013/12/23 12:12:22 nit: Are you sure that this is enforced?
Mr4D (OOO till 08-26) 2014/01/07 23:29:35 Since we use the primary's settings here any user
dialog_window_ = chrome::ShowWebDialog(
parent,
- ProfileManager::GetDefaultProfileOrOffTheRecord(),
+ ProfileManager::GetPrimaryUserProfile(),
this);
}
« no previous file with comments | « no previous file | chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698