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

Unified Diff: net/url_request/url_request_job.h

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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: net/url_request/url_request_job.h
===================================================================
--- net/url_request/url_request_job.h (revision 9942)
+++ net/url_request/url_request_job.h (working copy)
@@ -8,14 +8,12 @@
#include <string>
#include <vector>
-#include "base/basictypes.h"
#include "base/ref_counted.h"
-#include "net/base/auth.h"
#include "net/base/filter.h"
#include "net/base/load_states.h"
-#include "net/url_request/url_request_status.h"
namespace net {
+class AuthChallengeInfo;
class HttpResponseInfo;
class IOBuffer;
class UploadData;
@@ -23,6 +21,7 @@
class GURL;
class URLRequest;
+class URLRequestStatus;
class URLRequestJobMetrics;
// The URLRequestJob is using RefCounterThreadSafe because some sub classes
@@ -201,13 +200,13 @@
void NotifyReadComplete(int bytes_read);
// Notifies the request that a start error has occurred.
- void NotifyStartError(const URLRequestStatus &status);
+ void NotifyStartError(const URLRequestStatus& status);
// NotifyDone marks when we are done with a request. It is really
// a glorified set_status, but also does internal state checking and
// job tracking. It should be called once per request, when the job is
// finished doing all IO.
- void NotifyDone(const URLRequestStatus &status);
+ void NotifyDone(const URLRequestStatus& status);
// Some work performed by NotifyDone must be completed on a separate task
// so as to avoid re-entering the delegate. This method exists to perform
@@ -251,7 +250,7 @@
const URLRequestStatus GetStatus();
// Set the status of the job.
- void SetStatus(const URLRequestStatus &status);
+ void SetStatus(const URLRequestStatus& status);
// Whether the job is doing performance profiling
bool is_profiling_;
@@ -304,4 +303,3 @@
};
#endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_
-

Powered by Google App Engine
This is Rietveld 408576698