| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 BASE_STRING_SPLIT_H_ | 5 #ifndef BASE_STRING_SPLIT_H_ |
| 6 #define BASE_STRING_SPLIT_H_ | 6 #define BASE_STRING_SPLIT_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 #include <utility> | 9 #include <utility> |
| 11 #include <vector> | 10 #include <vector> |
| 12 | 11 |
| 13 #include "base/base_export.h" | 12 #include "base/base_export.h" |
| 14 #include "base/string16.h" | 13 #include "base/string16.h" |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 | 16 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // characters defined by HTML 5). Each contiguous block of non-whitespace | 72 // characters defined by HTML 5). Each contiguous block of non-whitespace |
| 74 // characters is added to result. | 73 // characters is added to result. |
| 75 BASE_EXPORT void SplitStringAlongWhitespace(const string16& str, | 74 BASE_EXPORT void SplitStringAlongWhitespace(const string16& str, |
| 76 std::vector<string16>* result); | 75 std::vector<string16>* result); |
| 77 BASE_EXPORT void SplitStringAlongWhitespace(const std::string& str, | 76 BASE_EXPORT void SplitStringAlongWhitespace(const std::string& str, |
| 78 std::vector<std::string>* result); | 77 std::vector<std::string>* result); |
| 79 | 78 |
| 80 } // namespace base | 79 } // namespace base |
| 81 | 80 |
| 82 #endif // BASE_STRING_SPLIT_H | 81 #endif // BASE_STRING_SPLIT_H |
| OLD | NEW |