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

Unified Diff: net/tools/flip_server/http_interface.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/tools/flip_server/http_interface.cc
diff --git a/net/tools/flip_server/http_interface.cc b/net/tools/flip_server/http_interface.cc
index b939c5ff87b4c93823d99e52afa692f27189c721..7e6282b667512cf0641e8fb6b203003495e7a54b 100644
--- a/net/tools/flip_server/http_interface.cc
+++ b/net/tools/flip_server/http_interface.cc
@@ -73,11 +73,17 @@ void HttpSM::MessageDone() {
}
}
-void HttpSM::HandleHeaderError(BalsaFrame* framer) { HandleError(); }
+void HttpSM::HandleHeaderError(BalsaFrame* framer) {
+ HandleError();
+}
-void HttpSM::HandleChunkingError(BalsaFrame* framer) { HandleError(); }
+void HttpSM::HandleChunkingError(BalsaFrame* framer) {
+ HandleError();
+}
-void HttpSM::HandleBodyError(BalsaFrame* framer) { HandleError(); }
+void HttpSM::HandleBodyError(BalsaFrame* framer) {
+ HandleError();
+}
void HttpSM::HandleError() {
VLOG(1) << ACCEPTOR_CLIENT_IDENT << "Error detected";
@@ -135,9 +141,13 @@ bool HttpSM::MessageFullyRead() const {
return http_framer_->MessageFullyRead();
}
-void HttpSM::SetStreamID(uint32 stream_id) { stream_id_ = stream_id; }
+void HttpSM::SetStreamID(uint32 stream_id) {
+ stream_id_ = stream_id;
+}
-bool HttpSM::Error() const { return http_framer_->Error(); }
+bool HttpSM::Error() const {
+ return http_framer_->Error();
+}
const char* HttpSM::ErrorAsString() const {
return BalsaFrameEnums::ErrorCodeToString(http_framer_->ErrorCode());
@@ -175,7 +185,9 @@ void HttpSM::Cleanup() {
}
}
-int HttpSM::PostAcceptHook() { return 1; }
+int HttpSM::PostAcceptHook() {
+ return 1;
+}
void HttpSM::NewStream(uint32 stream_id,
uint32 priority,

Powered by Google App Engine
This is Rietveld 408576698