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

Unified Diff: content/test/net/url_request_failed_job.h

Issue 10020051: Open a login tab on captive portal detection on SSL loads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Update comments Created 8 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: content/test/net/url_request_failed_job.h
===================================================================
--- content/test/net/url_request_failed_job.h (revision 139100)
+++ content/test/net/url_request_failed_job.h (working copy)
@@ -16,20 +16,20 @@
// This class simulates a URLRequestJob failing with a given error code while
// trying to connect.
-class URLRequestFailedJob : public net::URLRequestJob {
+class CONTENT_EXPORT URLRequestFailedJob : public net::URLRequestJob {
public:
URLRequestFailedJob(net::URLRequest* request, int net_error);
virtual void Start() OVERRIDE;
// Adds the testing URLs to the net::URLRequestFilter.
- CONTENT_EXPORT static void AddUrlHandler();
+ static void AddUrlHandler();
// Given a net error code, constructs a mock URL that will return that error
// asynchronously when started. |net_error| must be a valid net error code
// other than net::OK and net::ERR_IO_PENDING.
- CONTENT_EXPORT static GURL GetMockHttpUrl(int net_error);
- CONTENT_EXPORT static GURL GetMockHttpsUrl(int net_error);
+ static GURL GetMockHttpUrl(int net_error);
+ static GURL GetMockHttpsUrl(int net_error);
private:
static net::URLRequestJob* Factory(net::URLRequest* request,

Powered by Google App Engine
This is Rietveld 408576698