Home | History | Annotate | Download | only in flip_server
      1 // Copyright (c) 2009 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 NET_TOOLS_FLIP_SERVER_SPLIT_H_
      6 #define NET_TOOLS_FLIP_SERVER_SPLIT_H_
      7 #pragma once
      8 
      9 #include <vector>
     10 #include "base/string_piece.h"
     11 
     12 namespace net {
     13 
     14 // Yea, this could be done with less code duplication using
     15 // template magic, I know.
     16 void SplitStringPieceToVector(const base::StringPiece& full,
     17                               const char* delim,
     18                               std::vector<base::StringPiece>* vec,
     19                               bool omit_empty_strings);
     20 
     21 }  // namespace net
     22 
     23 #endif  // NET_TOOLS_FLIP_SERVER_SPLIT_H_
     24 
     25