| Index: components/dom_distiller/core/page_features.cc
|
| diff --git a/components/dom_distiller/core/page_features.cc b/components/dom_distiller/core/page_features.cc
|
| index 7d3115c597b3d4ecfa927cac3fbe3acadfcb8bbd..f931bbe5cb23cdc75513005d00cac20c84b92b93 100644
|
| --- a/components/dom_distiller/core/page_features.cc
|
| +++ b/components/dom_distiller/core/page_features.cc
|
| @@ -16,6 +16,7 @@ namespace dom_distiller {
|
| */
|
|
|
| namespace {
|
| +
|
| std::string GetLastSegment(const std::string& path) {
|
| // return re.search('[^/]*\/?$', path).group(0)
|
| if (path.size() == 0)
|
| @@ -46,7 +47,8 @@ bool EndsWith(const std::string& t, const std::string& s) {
|
| return s.size() >= t.size() &&
|
| s.compare(s.size() - t.size(), std::string::npos, t) == 0;
|
| }
|
| -}
|
| +
|
| +} // namespace
|
|
|
| int kDerivedFeaturesCount = 29;
|
|
|
| @@ -176,4 +178,5 @@ std::vector<double> CalculateDerivedFeaturesFromJSON(
|
| numAnchors, numForms, innerText, textContent,
|
| innerHTML);
|
| }
|
| -}
|
| +
|
| +} // namespace dom_distiller
|
|
|