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

Unified Diff: content/shell/shell_resource_dispatcher_host_delegate.h

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.h
===================================================================
--- content/shell/shell_resource_dispatcher_host_delegate.h (revision 148205)
+++ content/shell/shell_resource_dispatcher_host_delegate.h (working copy)
@@ -5,6 +5,7 @@
#ifndef CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
#define CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
+#include "base/callback.h"
#include "base/compiler_specific.h"
#include "content/public/browser/resource_dispatcher_host_delegate.h"
@@ -22,7 +23,15 @@
virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE;
+ // Used for content_browsertests.
+ void set_login_request_callback(
+ base::Callback<void()> login_request_callback) {
+ login_request_callback_ = login_request_callback;
+ }
+
private:
+ base::Callback<void()> login_request_callback_;
+
DISALLOW_COPY_AND_ASSIGN(ShellResourceDispatcherHostDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698