| Index: net/spdy/platform/impl/spdy_string_utils_impl.h
|
| diff --git a/net/spdy/platform/impl/spdy_string_utils_impl.h b/net/spdy/platform/impl/spdy_string_utils_impl.h
|
| index 4a5a0f3a8827c3650a209d2cdc98d7ead5921f7e..76c69908c3ada8ed7f9e38d005a16cee2e3299d2 100644
|
| --- a/net/spdy/platform/impl/spdy_string_utils_impl.h
|
| +++ b/net/spdy/platform/impl/spdy_string_utils_impl.h
|
| @@ -6,15 +6,15 @@
|
| #define NET_SPDY_PLATFORM_IMPL_SPDY_STRING_UTILS_IMPL_H_
|
|
|
| #include <sstream>
|
| -#include <string>
|
|
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/stringprintf.h"
|
| +#include "net/spdy/platform/api/spdy_string.h"
|
|
|
| namespace net {
|
|
|
| template <typename... Args>
|
| -inline std::string SpdyStrCatImpl(const Args&... args) {
|
| +inline SpdyString SpdyStrCatImpl(const Args&... args) {
|
| std::ostringstream oss;
|
| int dummy[] = {1, (oss << args, 0)...};
|
| static_cast<void>(dummy);
|
| @@ -22,12 +22,12 @@ inline std::string SpdyStrCatImpl(const Args&... args) {
|
| }
|
|
|
| template <typename... Args>
|
| -inline void SpdyStrAppendImpl(std::string* output, Args... args) {
|
| +inline void SpdyStrAppendImpl(SpdyString* output, Args... args) {
|
| output->append(SpdyStrCatImpl(args...));
|
| }
|
|
|
| template <typename... Args>
|
| -inline std::string SpdyStringPrintfImpl(const Args&... args) {
|
| +inline SpdyString SpdyStringPrintfImpl(const Args&... args) {
|
| return base::StringPrintf(std::forward<const Args&>(args)...);
|
| }
|
|
|
|
|