| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "base/files/file_path.h" | 5 #include "base/files/file_path.h" | 
| 6 | 6 | 
| 7 #include <string.h> | 7 #include <string.h> | 
| 8 #include <algorithm> | 8 #include <algorithm> | 
| 9 | 9 | 
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" | 
| (...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1307     std::replace(copy.begin(), copy.end(), kSeparators[i], separator); | 1307     std::replace(copy.begin(), copy.end(), kSeparators[i], separator); | 
| 1308   } | 1308   } | 
| 1309   return FilePath(copy); | 1309   return FilePath(copy); | 
| 1310 #else | 1310 #else | 
| 1311   return *this; | 1311   return *this; | 
| 1312 #endif | 1312 #endif | 
| 1313 } | 1313 } | 
| 1314 | 1314 | 
| 1315 #if defined(OS_ANDROID) | 1315 #if defined(OS_ANDROID) | 
| 1316 bool FilePath::IsContentUri() const { | 1316 bool FilePath::IsContentUri() const { | 
| 1317   return StartsWithASCII(path_, "content://", false /*case_sensitive*/); | 1317   return StartsWith(path_, "content://", base::CompareCase::INSENSITIVE_ASCII); | 
| 1318 } | 1318 } | 
| 1319 #endif | 1319 #endif | 
| 1320 | 1320 | 
| 1321 }  // namespace base | 1321 }  // namespace base | 
| OLD | NEW | 
|---|