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

Side by Side Diff: net/spdy/platform/impl/spdy_string_utils_impl.h

Issue 2799913003: Fix some net/spdy lint picks, from git cl lint. (Closed)
Patch Set: Set upstream branch to Issue 2801603003 as trybots pass. Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « net/spdy/hpack/hpack_output_stream.h ('k') | net/spdy/spdy_header_block.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SPDY_PLATFORM_IMPL_SPDY_STRING_UTILS_IMPL_H_ 5 #ifndef NET_SPDY_PLATFORM_IMPL_SPDY_STRING_UTILS_IMPL_H_
6 #define NET_SPDY_PLATFORM_IMPL_SPDY_STRING_UTILS_IMPL_H_ 6 #define NET_SPDY_PLATFORM_IMPL_SPDY_STRING_UTILS_IMPL_H_
7 7
8 #include <sstream> 8 #include <sstream>
9 #include <utility>
9 10
10 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "net/spdy/platform/api/spdy_string.h" 13 #include "net/spdy/platform/api/spdy_string.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 template <typename... Args> 17 template <typename... Args>
17 inline SpdyString SpdyStrCatImpl(const Args&... args) { 18 inline SpdyString SpdyStrCatImpl(const Args&... args) {
18 std::ostringstream oss; 19 std::ostringstream oss;
(...skipping 17 matching lines...) Expand all
36 base::StringAppendF(std::forward<const Args&>(args)...); 37 base::StringAppendF(std::forward<const Args&>(args)...);
37 } 38 }
38 39
39 inline char SpdyHexDigitToIntImpl(char c) { 40 inline char SpdyHexDigitToIntImpl(char c) {
40 return base::HexDigitToInt(c); 41 return base::HexDigitToInt(c);
41 } 42 }
42 43
43 } // namespace net 44 } // namespace net
44 45
45 #endif // NET_SPDY_PLATFORM_IMPL_SPDY_STRING_UTILS_IMPL_H_ 46 #endif // NET_SPDY_PLATFORM_IMPL_SPDY_STRING_UTILS_IMPL_H_
OLDNEW
« no previous file with comments | « net/spdy/hpack/hpack_output_stream.h ('k') | net/spdy/spdy_header_block.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698