|
Replace some Tokenize calls with SplitString.
Tokenize is now a legacy wrapper around a particular variant of SplitString call. I want to remove the Tokenize wrappers.
This patch uses the StringPiece version in obvious cases which saves allocations, and in many places removes the vector temporary in preferences to a range-based for loop.
Committed: https://crrev.com/37fd9d7d258626d3a1bd6db9fc99c97f981c21b1
Cr-Commit-Position: refs/heads/master@{#335856}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+142 lines, -105 lines) |
Patch |
|
M |
android_webview/browser/aw_media_client_android.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/display/display_info.cc
|
View
|
1
2
|
3 chunks |
+16 lines, -10 lines |
0 comments
|
Download
|
|
M |
base/process/process_iterator_freebsd.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
base/process/process_iterator_linux.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
base/process/process_iterator_mac.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
base/process/process_iterator_openbsd.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
base/process/process_metrics_linux.cc
|
View
|
1
|
4 chunks |
+16 lines, -20 lines |
0 comments
|
Download
|
|
M |
base/strings/string_util.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
base/test/test_reg_util_win.cc
|
View
|
1
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
base/trace_event/trace_event_impl.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
base/trace_event/trace_event_memory.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/autocomplete/in_memory_url_index_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/events/event_rewriter.cc
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_manager/file_tasks.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/input_method/input_method_util.cc
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/input_method/textinput_test_helper.cc
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/component_updater/chrome_component_updater_configurator.cc
|
View
|
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/devtools/device/adb/adb_client_socket.cc
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/devtools/device/adb/adb_device_provider.cc
|
View
|
1
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/devtools/device/adb/mock_adb_server.cc
|
View
|
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/devtools/device/android_device_info_query.cc
|
View
|
1
2
|
5 chunks |
+29 lines, -25 lines |
0 comments
|
Download
|
Total messages: 21 (10 generated)
|