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

Unified Diff: chrome/browser/ui/views/login_prompt_views.cc

Issue 1274083002: Add flag to show toolkit-views dialogs on Mac, start with HTTP-Auth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase ug - fix histograms: knew I forgot to rename something (darn flaky tryjobs..) Created 5 years, 4 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/views/login_prompt_views.cc
diff --git a/chrome/browser/ui/views/login_prompt_views.cc b/chrome/browser/ui/views/login_prompt_views.cc
index c7c4e54752f1f222924f11432032aa8c98a19120..cde26d5d2f2b9097da0aa4dbc3c3442738b8c24d 100644
--- a/chrome/browser/ui/views/login_prompt_views.cc
+++ b/chrome/browser/ui/views/login_prompt_views.cc
@@ -138,8 +138,11 @@ class LoginHandlerViews : public LoginHandler, public views::DialogDelegate {
DISALLOW_COPY_AND_ASSIGN(LoginHandlerViews);
};
-// static
-LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info,
- net::URLRequest* request) {
+namespace chrome {
+
+LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info,
+ net::URLRequest* request) {
return new LoginHandlerViews(auth_info, request);
}
+
+} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698