summaryrefslogtreecommitdiff
path: root/src/HttpProxyResponseCommand.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/HttpProxyResponseCommand.cc
parent4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff)
make clang-format using clang-format-3.6
Diffstat (limited to 'src/HttpProxyResponseCommand.cc')
-rw-r--r--src/HttpProxyResponseCommand.cc27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/HttpProxyResponseCommand.cc b/src/HttpProxyResponseCommand.cc
index 630d7eba..ba456220 100644
--- a/src/HttpProxyResponseCommand.cc
+++ b/src/HttpProxyResponseCommand.cc
@@ -43,26 +43,23 @@
namespace aria2 {
-HttpProxyResponseCommand::HttpProxyResponseCommand
-(cuid_t cuid,
- const std::shared_ptr<Request>& req,
- const std::shared_ptr<FileEntry>& fileEntry,
- RequestGroup* requestGroup,
- const std::shared_ptr<HttpConnection>& httpConnection,
- DownloadEngine* e,
- const std::shared_ptr<SocketCore>& s)
- :AbstractProxyResponseCommand(cuid, req, fileEntry, requestGroup,
- httpConnection, e, s)
-{}
+HttpProxyResponseCommand::HttpProxyResponseCommand(
+ cuid_t cuid, const std::shared_ptr<Request>& req,
+ const std::shared_ptr<FileEntry>& fileEntry, RequestGroup* requestGroup,
+ const std::shared_ptr<HttpConnection>& httpConnection, DownloadEngine* e,
+ const std::shared_ptr<SocketCore>& s)
+ : AbstractProxyResponseCommand(cuid, req, fileEntry, requestGroup,
+ httpConnection, e, s)
+{
+}
HttpProxyResponseCommand::~HttpProxyResponseCommand() {}
std::unique_ptr<Command> HttpProxyResponseCommand::getNextCommand()
{
- return make_unique<HttpRequestCommand>
- (getCuid(), getRequest(), getFileEntry(),
- getRequestGroup(), getHttpConnection(),
- getDownloadEngine(), getSocket());
+ return make_unique<HttpRequestCommand>(
+ getCuid(), getRequest(), getFileEntry(), getRequestGroup(),
+ getHttpConnection(), getDownloadEngine(), getSocket());
}
} // namespace aria2