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

Unified Diff: net/url_request/url_request_job.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: net/url_request/url_request_job.h
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index c1fd3bb3bccf6ea18303761569e92ef56a2e2e8a..a8a0a17c013605d3216d54659f513d3ed72dca84 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -40,18 +40,15 @@ class UploadDataStream;
class URLRequestStatus;
class X509Certificate;
-class NET_EXPORT URLRequestJob
- : public base::RefCounted<URLRequestJob>,
- public base::PowerObserver {
+class NET_EXPORT URLRequestJob : public base::RefCounted<URLRequestJob>,
+ public base::PowerObserver {
public:
explicit URLRequestJob(URLRequest* request,
NetworkDelegate* network_delegate);
// Returns the request that owns this job. THIS POINTER MAY BE NULL if the
// request was destroyed.
- URLRequest* request() const {
- return request_;
- }
+ URLRequest* request() const { return request_; }
// Sets the upload data, most requests have no upload data, so this is a NOP.
// Job types supporting upload data will override this.
@@ -294,7 +291,7 @@ class NET_EXPORT URLRequestJob
// URLRequestStatus::IO_PENDING, and buf must remain available until the
// operation is completed. See comments on URLRequest::Read for more
// info.
- virtual bool ReadRawData(IOBuffer* buf, int buf_size, int *bytes_read);
+ virtual bool ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read);
// Called to tell the job that a filter has successfully reached the end of
// the stream.
@@ -312,7 +309,7 @@ class NET_EXPORT URLRequestJob
// false otherwise. Note, if there is not enough data received to
// return data, this call can issue a new async IO request under
// the hood.
- bool ReadFilteredData(int *bytes_read);
+ bool ReadFilteredData(int* bytes_read);
// Whether the response is being filtered in this job.
// Only valid after NotifyHeadersComplete() has been called.
@@ -352,7 +349,7 @@ class NET_EXPORT URLRequestJob
// When data filtering is enabled, this function is used to read data
// for the filter. Returns true if raw data was read. Returns false if
// an error occurred (or we are waiting for IO to complete).
- bool ReadRawDataForFilter(int *bytes_read);
+ bool ReadRawDataForFilter(int* bytes_read);
// Invokes ReadRawData and records bytes read if the read completes
// synchronously.

Powered by Google App Engine
This is Rietveld 408576698