OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <sys/types.h> | 5 #include <sys/types.h> |
6 | 6 |
7 #include <glib.h> | 7 #include <glib.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 } | 42 } |
43 return path; | 43 return path; |
44 } | 44 } |
45 | 45 |
46 PathString LowercasePath(const PathString& path) { | 46 PathString LowercasePath(const PathString& path) { |
47 gchar* ret = g_utf8_strdown(path.c_str(), -1); | 47 gchar* ret = g_utf8_strdown(path.c_str(), -1); |
48 PathString retstr(ret); | 48 PathString retstr(ret); |
49 g_free(ret); | 49 g_free(ret); |
50 return retstr; | 50 return retstr; |
51 } | 51 } |
OLD | NEW |