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

Unified Diff: net/socket_stream/socket_stream_job_manager.cc

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/socket_stream/socket_stream_job_manager.cc
diff --git a/net/socket_stream/socket_stream_job_manager.cc b/net/socket_stream/socket_stream_job_manager.cc
index 6418be4eb71ad5502f12f9c2dfcb11ad07b8ea4e..4a9b8c03df638f289eaa43f8395ea783da2e17c1 100644
--- a/net/socket_stream/socket_stream_job_manager.cc
+++ b/net/socket_stream/socket_stream_job_manager.cc
@@ -20,14 +20,16 @@ SocketStreamJobManager* SocketStreamJobManager::GetInstance() {
}
SocketStreamJob* SocketStreamJobManager::CreateJob(
- const GURL& url, SocketStream::Delegate* delegate,
- URLRequestContext* context, CookieStore* cookie_store) const {
+ const GURL& url,
+ SocketStream::Delegate* delegate,
+ URLRequestContext* context,
+ CookieStore* cookie_store) const {
// If url is invalid, create plain SocketStreamJob, which will close
// the socket immediately.
if (!url.is_valid()) {
SocketStreamJob* job = new SocketStreamJob();
- job->InitSocketStream(new SocketStream(url, delegate, context,
- cookie_store));
+ job->InitSocketStream(
+ new SocketStream(url, delegate, context, cookie_store));
return job;
}
@@ -47,7 +49,8 @@ SocketStreamJob* SocketStreamJobManager::CreateJob(
SocketStreamJob::ProtocolFactory*
SocketStreamJobManager::RegisterProtocolFactory(
- const std::string& scheme, SocketStreamJob::ProtocolFactory* factory) {
+ const std::string& scheme,
+ SocketStreamJob::ProtocolFactory* factory) {
base::AutoLock locked(lock_);
SocketStreamJob::ProtocolFactory* old_factory;

Powered by Google App Engine
This is Rietveld 408576698