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

Unified Diff: net/quic/quic_framer.h

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/quic/quic_framer.h
diff --git a/net/quic/quic_framer.h b/net/quic/quic_framer.h
index 34bba9859dc36760763c09b0eabf38b275423402..f812b0ab85cde83f8568e85a4227cdc18660734f 100644
--- a/net/quic/quic_framer.h
+++ b/net/quic/quic_framer.h
@@ -72,8 +72,7 @@ class NET_EXPORT_PRIVATE QuicFramerVisitorInterface {
// Called when a public reset packet has been parsed but has not yet
// been validated.
- virtual void OnPublicResetPacket(
- const QuicPublicResetPacket& packet) = 0;
+ virtual void OnPublicResetPacket(const QuicPublicResetPacket& packet) = 0;
// Called only when |is_server_| is false and a version negotiation packet has
// been parsed.
@@ -194,9 +193,7 @@ class NET_EXPORT_PRIVATE QuicFramer {
// else the framer will likely crash. It is acceptable for the visitor
// to do nothing. If this is called multiple times, only the last visitor
// will be used.
- void set_visitor(QuicFramerVisitorInterface* visitor) {
- visitor_ = visitor;
- }
+ void set_visitor(QuicFramerVisitorInterface* visitor) { visitor_ = visitor; }
// Set a builder to be called from the framer when building FEC protected
// packets. If this is called multiple times, only the last builder
@@ -209,9 +206,7 @@ class NET_EXPORT_PRIVATE QuicFramer {
return supported_versions_;
}
- QuicVersion version() const {
- return quic_version_;
- }
+ QuicVersion version() const { return quic_version_; }
void set_version(const QuicVersion version);
@@ -230,9 +225,7 @@ class NET_EXPORT_PRIVATE QuicFramer {
entropy_calculator_ = entropy_calculator;
}
- QuicErrorCode error() const {
- return error_;
- }
+ QuicErrorCode error() const { return error_; }
// Pass a UDP packet into the framer for parsing.
// Return true if the packet was processed succesfully. |packet| must be a
@@ -482,13 +475,9 @@ class NET_EXPORT_PRIVATE QuicFramer {
bool RaiseError(QuicErrorCode error);
- void set_error(QuicErrorCode error) {
- error_ = error;
- }
+ void set_error(QuicErrorCode error) { error_ = error; }
- void set_detailed_error(const char* error) {
- detailed_error_ = error;
- }
+ void set_detailed_error(const char* error) { detailed_error_ = error; }
std::string detailed_error_;
scoped_ptr<QuicDataReader> reader_;

Powered by Google App Engine
This is Rietveld 408576698