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

Unified Diff: base/file_path.h

Issue 16805: Move Contains() method to file_utils, stop relying on in extensions_protocol (Closed)
Patch Set: Review feedback Created 11 years, 11 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
« no previous file with comments | « no previous file | base/file_path.cc » ('j') | base/file_path.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_path.h
diff --git a/base/file_path.h b/base/file_path.h
index d80298d7dacabf379add9669172dc7297f68bf4d..d82f8f408813d251cba9a178264e17973385d95b 100644
--- a/base/file_path.h
+++ b/base/file_path.h
@@ -195,11 +195,6 @@ class FilePath {
// platforms, an absolute path begins with a separator character.
bool IsAbsolute() const;
- // Returns true if this FilePath represents a parent dir of |other|. Both
- // paths are normalized before doing the comparison, but neither |this| nor
- // |other| are modified.
- bool Contains(const FilePath& other) const;
-
// Returns a copy of this FilePath that does not end with a trailing
// separator.
FilePath StripTrailingSeparators() const;
« no previous file with comments | « no previous file | base/file_path.cc » ('j') | base/file_path.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698