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

Unified Diff: content/shell/shell_resource_dispatcher_host_delegate.cc

Issue 10820007: Move all the layout tests that ran under browser_tests to run under content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 5 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: content/shell/shell_resource_dispatcher_host_delegate.cc
===================================================================
--- content/shell/shell_resource_dispatcher_host_delegate.cc (revision 148205)
+++ content/shell/shell_resource_dispatcher_host_delegate.cc (working copy)
@@ -24,6 +24,12 @@
ResourceDispatcherHostLoginDelegate*
ShellResourceDispatcherHostDelegate::CreateLoginDelegate(
net::AuthChallengeInfo* auth_info, net::URLRequest* request) {
+ if (!login_request_callback_.is_null()) {
+ login_request_callback_.Run();
+ login_request_callback_.Reset();
+ return NULL;
+ }
+
#if !defined(OS_MACOSX)
// TODO: implement ShellLoginDialog for other platforms, drop this #if
return NULL;

Powered by Google App Engine
This is Rietveld 408576698