Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Unified Diff: content/browser/loader/resource_dispatcher_host_unittest.cc

Issue 1278973003: Revert of Update SplitString calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/resource_dispatcher_host_unittest.cc
diff --git a/content/browser/loader/resource_dispatcher_host_unittest.cc b/content/browser/loader/resource_dispatcher_host_unittest.cc
index 80d78c508282411331ebbcb5fe9db93c24250cc0..ef90e30b286979409944d0724153bf784152fdfc 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -478,8 +478,8 @@
// big-job:substring,N
static bool ParseURL(const GURL& url, std::string* text, int* count) {
- std::vector<std::string> parts = base::SplitString(
- url.path(), ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
+ std::vector<std::string> parts;
+ base::SplitString(url.path(), ',', &parts);
if (parts.size() != 2)
return false;
@@ -514,8 +514,8 @@
// big-job:substring,N
static bool ParseURL(const GURL& url, std::string* text, int* count) {
- std::vector<std::string> parts = base::SplitString(
- url.path(), ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
+ std::vector<std::string> parts;
+ base::SplitString(url.path(), ',', &parts);
if (parts.size() != 2)
return false;
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/browser/service_worker/service_worker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698