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

Unified Diff: base/file_path.h

Issue 150109: make FilePath:IsParent use case-insensitive compare for drive letters on windows (Closed)
Patch Set: one more Created 11 years, 6 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') | no next file with comments »
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 5fe8cda8702cb5878c0b12cc51871f97af822d88..17653d1607f6efed37fb6a54479601b5a4d5e714 100644
--- a/base/file_path.h
+++ b/base/file_path.h
@@ -122,13 +122,9 @@ class FilePath {
return *this;
}
- bool operator==(const FilePath& that) const {
- return path_ == that.path_;
- }
+ bool operator==(const FilePath& that) const;
- bool operator!=(const FilePath& that) const {
- return path_ != that.path_;
- }
+ bool operator!=(const FilePath& that) const;
// Required for some STL containers and operations
bool operator<(const FilePath& that) const {
« no previous file with comments | « no previous file | base/file_path.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698