summaryrefslogtreecommitdiff
path: root/src/HttpProxyRequestCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:39:47 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:40:08 +0900
commitb1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch)
tree9ce465b42bf09372118335c7c619bb2b41869eaf /src/HttpProxyRequestCommand.cc
parent4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff)
make clang-format using clang-format-3.6
Diffstat (limited to 'src/HttpProxyRequestCommand.cc')
-rw-r--r--src/HttpProxyRequestCommand.cc27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/HttpProxyRequestCommand.cc b/src/HttpProxyRequestCommand.cc
index f639ac70..b0e568a2 100644
--- a/src/HttpProxyRequestCommand.cc
+++ b/src/HttpProxyRequestCommand.cc
@@ -41,26 +41,23 @@
namespace aria2 {
-HttpProxyRequestCommand::HttpProxyRequestCommand
-(cuid_t cuid,
- const std::shared_ptr<Request>& req,
- const std::shared_ptr<FileEntry>& fileEntry,
- RequestGroup* requestGroup,
- DownloadEngine* e,
- const std::shared_ptr<Request>& proxyRequest,
- const std::shared_ptr<SocketCore>& s)
- :
- AbstractProxyRequestCommand(cuid, req, fileEntry, requestGroup, e,
- proxyRequest, s)
-{}
+HttpProxyRequestCommand::HttpProxyRequestCommand(
+ cuid_t cuid, const std::shared_ptr<Request>& req,
+ const std::shared_ptr<FileEntry>& fileEntry, RequestGroup* requestGroup,
+ DownloadEngine* e, const std::shared_ptr<Request>& proxyRequest,
+ const std::shared_ptr<SocketCore>& s)
+ : AbstractProxyRequestCommand(cuid, req, fileEntry, requestGroup, e,
+ proxyRequest, s)
+{
+}
HttpProxyRequestCommand::~HttpProxyRequestCommand() {}
std::unique_ptr<Command> HttpProxyRequestCommand::getNextCommand()
{
- return make_unique<HttpProxyResponseCommand>
- (getCuid(), getRequest(), getFileEntry(), getRequestGroup(),
- getHttpConnection(), getDownloadEngine(), getSocket());
+ return make_unique<HttpProxyResponseCommand>(
+ getCuid(), getRequest(), getFileEntry(), getRequestGroup(),
+ getHttpConnection(), getDownloadEngine(), getSocket());
}
} // namespace aria2