diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:39:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:40:08 +0900 |
| commit | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch) | |
| tree | 9ce465b42bf09372118335c7c619bb2b41869eaf /src/AbstractHttpServerResponseCommand.h | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/AbstractHttpServerResponseCommand.h')
| -rw-r--r-- | src/AbstractHttpServerResponseCommand.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/AbstractHttpServerResponseCommand.h b/src/AbstractHttpServerResponseCommand.h index 431351b8..9d07d771 100644 --- a/src/AbstractHttpServerResponseCommand.h +++ b/src/AbstractHttpServerResponseCommand.h @@ -57,19 +57,17 @@ private: bool writeCheck_; void updateReadWriteCheck(); + protected: - DownloadEngine* getDownloadEngine() - { - return e_; - } + DownloadEngine* getDownloadEngine() { return e_; } // Called after content body is completely sent. virtual void afterSend(const std::shared_ptr<HttpServer>& httpServer, DownloadEngine* e) = 0; + public: - AbstractHttpServerResponseCommand(cuid_t cuid, - const std::shared_ptr<HttpServer>& httpServer, - DownloadEngine* e, - const std::shared_ptr<SocketCore>& socket); + AbstractHttpServerResponseCommand( + cuid_t cuid, const std::shared_ptr<HttpServer>& httpServer, + DownloadEngine* e, const std::shared_ptr<SocketCore>& socket); virtual ~AbstractHttpServerResponseCommand(); |
