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

Unified Diff: trunk/src/chrome/browser/chromeos/login/captive_portal_window_proxy.cc

Issue 14066013: Revert 194348 "Part of multiprofile implementation." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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: trunk/src/chrome/browser/chromeos/login/captive_portal_window_proxy.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/login/captive_portal_window_proxy.cc (revision 194361)
+++ trunk/src/chrome/browser/chromeos/login/captive_portal_window_proxy.cc (working copy)
@@ -7,7 +7,7 @@
#include "chrome/browser/chromeos/login/captive_portal_view.h"
#include "chrome/browser/chromeos/login/helper.h"
#include "chrome/browser/chromeos/login/proxy_settings_dialog.h"
-#include "chrome/browser/chromeos/profiles/profile_helper.h"
+#include "chrome/browser/profiles/profile_manager.h"
#include "ui/views/widget/widget.h"
namespace {
@@ -46,7 +46,7 @@
// Dialog is not initialized yet.
if (!captive_portal_view_.get()) {
captive_portal_view_.reset(
- new CaptivePortalView(ProfileHelper::GetSigninProfile(), this));
+ new CaptivePortalView(ProfileManager::GetDefaultProfile(), this));
}
// If dialog has been created (but not shown) previously, force reload.

Powered by Google App Engine
This is Rietveld 408576698