Home | History | Annotate | Download | only in deps
      1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef GOOGLE_CACHEINVALIDATION_DEPS_STRING_UTIL_H_
      6 #define GOOGLE_CACHEINVALIDATION_DEPS_STRING_UTIL_H_
      7 
      8 #include "base/strings/string_number_conversions.h"
      9 #include "base/strings/stringprintf.h"
     10 
     11 namespace invalidation {
     12 
     13 using base::StringAppendV;
     14 using base::StringPrintf;
     15 
     16 inline std::string SimpleItoa(int v) {
     17   return base::IntToString(v);
     18 }
     19 
     20 inline std::string SimpleItoa(int64 v) {
     21   return base::Int64ToString(v);
     22 }
     23 
     24 }  // namespace invalidation
     25 
     26 #endif  // GOOGLE_CACHEINVALIDATION_DEPS_STRING_UTIL_H_
     27