| Index: chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc
|
| diff --git a/chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc b/chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc
|
| index 7937cea17d5d2dee7066e0bd3510d57ed03221d2..4686a410dfddbfa16e0945942174dddf4c052421 100644
|
| --- a/chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc
|
| +++ b/chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc
|
| @@ -7,9 +7,11 @@
|
| #include <algorithm>
|
| #include <string>
|
| #include <vector>
|
| +
|
| #include "base/histogram.h"
|
| #include "base/logging.h"
|
| #include "base/perftimer.h"
|
| +#include "base/string_split.h"
|
| #include "base/string_util.h"
|
| #include "chrome/renderer/safe_browsing/features.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -54,7 +56,7 @@ bool PhishingUrlFeatureExtractor::ExtractFeatures(const GURL& url,
|
| // Pull off the TLD and the preceeding dot.
|
| host.erase(tld_start - 1);
|
| std::vector<std::string> host_tokens;
|
| - SplitStringDontTrim(host, '.', &host_tokens);
|
| + base::SplitStringDontTrim(host, '.', &host_tokens);
|
| // Get rid of any empty components.
|
| std::vector<std::string>::iterator new_end =
|
| std::remove(host_tokens.begin(), host_tokens.end(), "");
|
|
|