0

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
This commit is contained in:
devgrapher@gmail.com
2014-05-21 01:58:29 +00:00
parent edcd08b27c
commit fe552401de
13 changed files with 18 additions and 11 deletions

@ -161,6 +161,7 @@ Jeado Ko <haibane84@gmail.com>
Jesse Miller <jesse@jmiller.biz>
Jesus Sanchez-Palencia <jesus.sanchez-palencia.fernandez.fil@intel.com>
Jie Chen <jie.a.chen@intel.com>
Jihun Brent Kim <devgrapher@gmail.com>
Jin Yang <jin.a.yang@intel.com>
Jincheol Jo <jincheol.jo@navercorp.com>
Jingwei Liu <kingweiliu@gmail.com>

@ -5,6 +5,8 @@
#ifndef 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/compiler_specific.h"
#include "base/memory/scoped_ptr.h"

@ -457,7 +457,6 @@ class URLFetcherImplFactory : public URLFetcherFactory {
const GURL& url,
URLFetcher::RequestType request_type,
URLFetcherDelegate* d) OVERRIDE;
};
} // namespace net

@ -14,6 +14,8 @@
#ifndef NET_URL_REQUEST_URL_FETCHER_IMPL_H_
#define NET_URL_REQUEST_URL_FETCHER_IMPL_H_
#include <string>
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "net/base/net_export.h"

@ -5,6 +5,8 @@
#ifndef 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/files/file_path.h"
#include "base/memory/ref_counted.h"

@ -5,6 +5,8 @@
#ifndef 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/http/http_byte_range.h"
#include "net/url_request/url_request_job.h"

@ -122,7 +122,7 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
// This class handles network interception. Use with
// (Un)RegisterRequestInterceptor.
class NET_EXPORT Interceptor {
public:
public:
virtual ~Interceptor() {}
// Called for every request made. Should return a new job to handle the

@ -145,7 +145,6 @@ class NET_EXPORT URLRequestContextBuilder {
URLRequestContext* Build();
private:
struct SchemeFactory {
SchemeFactory(const std::string& scheme,
net::HttpAuthHandlerFactory* factory);

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_
#define CHROME_COMMON_NET_URL_REQUEST_CONTEXT_GETTER_H_
#ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_
#define NET_URL_REQUEST_URL_REQUEST_CONTEXT_GETTER_H_
#include "base/memory/ref_counted.h"
#include "base/sequenced_task_runner_helpers.h"
@ -55,4 +55,4 @@ struct URLRequestContextGetterTraits {
} // 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) {
// TODO(darin): Bug 1004233. Re-enable this test once all of the chrome
// 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
DCHECK(has_handled_response_);

@ -6,7 +6,7 @@
#define NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_IMPL_H_
#include <map>
#include <vector>
#include <string>
#include "base/basictypes.h"
#include "base/compiler_specific.h"

@ -37,7 +37,6 @@ static const SchemeToFactory kBuiltinFactories[] = {
{ "ws", URLRequestHttpJob::Factory },
{ "wss", URLRequestHttpJob::Factory },
#endif // !defined(OS_IOS)
};
// static

@ -332,7 +332,7 @@ class MockURLRequestThrottlerEntry : public URLRequestThrottlerEntry {
// Registry of results for a class of |Requester| objects (e.g. attackers vs.
// regular clients).
class RequesterResults {
public:
public:
RequesterResults()
: num_attempts_(0), num_successful_(0), num_failed_(0), num_blocked_(0) {
}