Commit fe552401 authored by devgrapher@gmail.com's avatar devgrapher@gmail.com

Clean up coding style

BUG=

R=rtenneti@chromium.org,wtc@chromium.org

Review URL: https://codereview.chromium.org/296433002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271805 0039d316-1c4b-4281-b951-d872f2087c98
parent edcd08b2
...@@ -161,6 +161,7 @@ Jeado Ko <haibane84@gmail.com> ...@@ -161,6 +161,7 @@ Jeado Ko <haibane84@gmail.com>
Jesse Miller <jesse@jmiller.biz> Jesse Miller <jesse@jmiller.biz>
Jesus Sanchez-Palencia <jesus.sanchez-palencia.fernandez.fil@intel.com> Jesus Sanchez-Palencia <jesus.sanchez-palencia.fernandez.fil@intel.com>
Jie Chen <jie.a.chen@intel.com> Jie Chen <jie.a.chen@intel.com>
Jihun Brent Kim <devgrapher@gmail.com>
Jin Yang <jin.a.yang@intel.com> Jin Yang <jin.a.yang@intel.com>
Jincheol Jo <jincheol.jo@navercorp.com> Jincheol Jo <jincheol.jo@navercorp.com>
Jingwei Liu <kingweiliu@gmail.com> Jingwei Liu <kingweiliu@gmail.com>
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef NET_URL_REQUEST_PROTOCOL_INTERCEPT_JOB_FACTORY_H_ #ifndef NET_URL_REQUEST_PROTOCOL_INTERCEPT_JOB_FACTORY_H_
#define NET_URL_REQUEST_PROTOCOL_INTERCEPT_JOB_FACTORY_H_ #define NET_URL_REQUEST_PROTOCOL_INTERCEPT_JOB_FACTORY_H_
#include <string>
#include "base/basictypes.h" #include "base/basictypes.h"
#include "base/compiler_specific.h" #include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h" #include "base/memory/scoped_ptr.h"
......
...@@ -457,7 +457,6 @@ class URLFetcherImplFactory : public URLFetcherFactory { ...@@ -457,7 +457,6 @@ class URLFetcherImplFactory : public URLFetcherFactory {
const GURL& url, const GURL& url,
URLFetcher::RequestType request_type, URLFetcher::RequestType request_type,
URLFetcherDelegate* d) OVERRIDE; URLFetcherDelegate* d) OVERRIDE;
}; };
} // namespace net } // namespace net
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#ifndef NET_URL_REQUEST_URL_FETCHER_IMPL_H_ #ifndef NET_URL_REQUEST_URL_FETCHER_IMPL_H_
#define NET_URL_REQUEST_URL_FETCHER_IMPL_H_ #define NET_URL_REQUEST_URL_FETCHER_IMPL_H_
#include <string>
#include "base/basictypes.h" #include "base/basictypes.h"
#include "base/compiler_specific.h" #include "base/compiler_specific.h"
#include "net/base/net_export.h" #include "net/base/net_export.h"
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ #ifndef NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_
#define NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ #define NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_
#include <string>
#include "base/basictypes.h" #include "base/basictypes.h"
#include "base/files/file_path.h" #include "base/files/file_path.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef NET_URL_REQUEST_URL_RANGE_REQUEST_JOB_H_ #ifndef NET_URL_REQUEST_URL_RANGE_REQUEST_JOB_H_
#define NET_URL_REQUEST_URL_RANGE_REQUEST_JOB_H_ #define NET_URL_REQUEST_URL_RANGE_REQUEST_JOB_H_
#include <vector>
#include "net/base/net_export.h" #include "net/base/net_export.h"
#include "net/http/http_byte_range.h" #include "net/http/http_byte_range.h"
#include "net/url_request/url_request_job.h" #include "net/url_request/url_request_job.h"
......
...@@ -145,7 +145,6 @@ class NET_EXPORT URLRequestContextBuilder { ...@@ -145,7 +145,6 @@ class NET_EXPORT URLRequestContextBuilder {
URLRequestContext* Build(); URLRequestContext* Build();
private: private:
struct SchemeFactory { struct SchemeFactory {
SchemeFactory(const std::string& scheme, SchemeFactory(const std::string& scheme,
net::HttpAuthHandlerFactory* factory); net::HttpAuthHandlerFactory* factory);
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_
#define CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/sequenced_task_runner_helpers.h" #include "base/sequenced_task_runner_helpers.h"
...@@ -55,4 +55,4 @@ struct URLRequestContextGetterTraits { ...@@ -55,4 +55,4 @@ struct URLRequestContextGetterTraits {
} // namespace net } // namespace net
#endif // CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_ #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_
...@@ -399,8 +399,9 @@ void URLRequestJob::NotifyReadComplete(int bytes_read) { ...@@ -399,8 +399,9 @@ void URLRequestJob::NotifyReadComplete(int bytes_read) {
// TODO(darin): Bug 1004233. Re-enable this test once all of the chrome // TODO(darin): Bug 1004233. Re-enable this test once all of the chrome
// unit_tests have been fixed to not trip this. // unit_tests have been fixed to not trip this.
//DCHECK(!request_->status().is_io_pending()); #if 0
DCHECK(!request_->status().is_io_pending());
#endif
// The headers should be complete before reads complete // The headers should be complete before reads complete
DCHECK(has_handled_response_); DCHECK(has_handled_response_);
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#define NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_IMPL_H_ #define NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_IMPL_H_
#include <map> #include <map>
#include <vector> #include <string>
#include "base/basictypes.h" #include "base/basictypes.h"
#include "base/compiler_specific.h" #include "base/compiler_specific.h"
......
...@@ -37,7 +37,6 @@ static const SchemeToFactory kBuiltinFactories[] = { ...@@ -37,7 +37,6 @@ static const SchemeToFactory kBuiltinFactories[] = {
{ "ws", URLRequestHttpJob::Factory }, { "ws", URLRequestHttpJob::Factory },
{ "wss", URLRequestHttpJob::Factory }, { "wss", URLRequestHttpJob::Factory },
#endif // !defined(OS_IOS) #endif // !defined(OS_IOS)
}; };
// static // static
......
...@@ -332,7 +332,7 @@ class MockURLRequestThrottlerEntry : public URLRequestThrottlerEntry { ...@@ -332,7 +332,7 @@ class MockURLRequestThrottlerEntry : public URLRequestThrottlerEntry {
// Registry of results for a class of |Requester| objects (e.g. attackers vs. // Registry of results for a class of |Requester| objects (e.g. attackers vs.
// regular clients). // regular clients).
class RequesterResults { class RequesterResults {
public: public:
RequesterResults() RequesterResults()
: num_attempts_(0), num_successful_(0), num_failed_(0), num_blocked_(0) { : num_attempts_(0), num_successful_(0), num_failed_(0), num_blocked_(0) {
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment