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

Unified Diff: chrome/browser/chromeos/login/ui/login_web_dialog.h

Issue 292663018: [cros login] Cleanup: replace some of Profile usages with BrowserContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing include, fix ProxySettingsDialog ctor Created 6 years, 7 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/chromeos/login/ui/login_web_dialog.h
diff --git a/chrome/browser/chromeos/login/ui/login_web_dialog.h b/chrome/browser/chromeos/login/ui/login_web_dialog.h
index 3014869c4609bc7d25717225c29c5269e38ce6fa..070e5d6b096c692ac76d19bcbbc17bdfed3275bb 100644
--- a/chrome/browser/chromeos/login/ui/login_web_dialog.h
+++ b/chrome/browser/chromeos/login/ui/login_web_dialog.h
@@ -15,7 +15,9 @@
#include "ui/web_dialogs/web_dialog_delegate.h"
#include "url/gurl.h"
-class Profile;
+namespace content {
+class BrowserContext;
+}
namespace chromeos {
@@ -40,7 +42,7 @@ class LoginWebDialog : public ui::WebDialogDelegate,
STYLE_BUBBLE // Use chromeos::BubbleWindow as a host.
};
- LoginWebDialog(Profile* profile,
+ LoginWebDialog(content::BrowserContext* browser_context,
Delegate* delegate,
gfx::NativeWindow parent_window,
const base::string16& title,
@@ -89,7 +91,7 @@ class LoginWebDialog : public ui::WebDialogDelegate,
const content::NotificationDetails& details) OVERRIDE;
private:
- Profile* profile_;
+ content::BrowserContext* browser_context_;
gfx::NativeWindow parent_window_;
// Notifications receiver.
Delegate* delegate_;
« no previous file with comments | « chrome/browser/chromeos/login/profile_auth_data.cc ('k') | chrome/browser/chromeos/login/ui/login_web_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698