Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / net / tools / balsa / split.h
blob6901c2d5651df24845b0b4ae894ed813095f543d
1 // Copyright 2013 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.
5 #ifndef NET_TOOLS_BALSA_SPLIT_H_
6 #define NET_TOOLS_BALSA_SPLIT_H_
8 #include <vector>
9 #include "base/strings/string_piece.h"
11 namespace net {
13 // Yea, this could be done with less code duplication using
14 // template magic, I know.
15 void SplitStringPieceToVector(const base::StringPiece& full,
16 const char* delim,
17 std::vector<base::StringPiece>* vec,
18 bool omit_empty_strings);
20 } // namespace net
22 #endif // NET_TOOLS_BALSA_SPLIT_H_