Refactoring according Google C++ Style.

This commit is contained in:
Adam Gu
2018-05-18 15:37:09 +08:00
parent 189a246221
commit 1bab2da8f4
49 changed files with 894 additions and 483 deletions
@@ -144,6 +144,7 @@ bool BookListService::Post(const std::string& request_content,
////////////////////////////////////////////////////////////////////////////////
bool BookDetailService::Get(const std::vector<std::string>& url_sub_matches,
const webcc::UrlQuery& query,
std::string* response_content) {
if (url_sub_matches.size() != 1) {
return false;
+1
View File
@@ -32,6 +32,7 @@ class BookListService : public webcc::RestListService {
class BookDetailService : public webcc::RestDetailService {
protected:
bool Get(const std::vector<std::string>& url_sub_matches,
const webcc::UrlQuery& query,
std::string* response_content) final;
bool Patch(const std::vector<std::string>& url_sub_matches,