From 76eb0247d08fa6c503517ec1a0cb8e6566cd39c7 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Thu, 14 Oct 2010 00:35:36 +0000 Subject: base: Move SplitString functions into the base namespace and update the callers. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3750001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62483 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/password_manager/password_form_manager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/password_manager') diff --git a/chrome/browser/password_manager/password_form_manager.cc b/chrome/browser/password_manager/password_form_manager.cc index 81ba774..e268317 100644 --- a/chrome/browser/password_manager/password_form_manager.cc +++ b/chrome/browser/password_manager/password_form_manager.cc @@ -34,7 +34,7 @@ PasswordFormManager::PasswordFormManager(Profile* profile, submit_result_(kSubmitResultNotSubmitted) { DCHECK(profile_); if (observed_form_.origin.is_valid()) - SplitString(observed_form_.origin.path(), '/', &form_path_tokens_); + base::SplitString(observed_form_.origin.path(), '/', &form_path_tokens_); observed_form_.ssl_valid = ssl_valid; } @@ -453,7 +453,7 @@ int PasswordFormManager::ScoreResult(const PasswordForm& candidate) const { // Walk the origin URL paths one directory at a time to see how // deep the two match. std::vector candidate_path_tokens; - SplitString(candidate.origin.path(), '/', &candidate_path_tokens); + base::SplitString(candidate.origin.path(), '/', &candidate_path_tokens); size_t depth = 0; size_t max_dirs = std::min(form_path_tokens_.size(), candidate_path_tokens.size()); -- cgit v1.1