OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef BASE_PATH_SERVICE_H__ | 5 #ifndef BASE_PATH_SERVICE_H__ |
6 #define BASE_PATH_SERVICE_H__ | 6 #define BASE_PATH_SERVICE_H__ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #ifdef OS_WIN | 9 #ifdef OS_WIN |
10 // TODO(erikkay): this should be removable, but because SetCurrentDirectory | 10 // TODO(erikkay): this should be removable, but because SetCurrentDirectory |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 static void RegisterProvider(ProviderFunc provider, | 71 static void RegisterProvider(ProviderFunc provider, |
72 int key_start, | 72 int key_start, |
73 int key_end); | 73 int key_end); |
74 private: | 74 private: |
75 static bool GetFromCache(int key, FilePath* path); | 75 static bool GetFromCache(int key, FilePath* path); |
76 static void AddToCache(int key, const FilePath& path); | 76 static void AddToCache(int key, const FilePath& path); |
77 | 77 |
78 }; | 78 }; |
79 | 79 |
80 #endif // BASE_PATH_SERVICE_H__ | 80 #endif // BASE_PATH_SERVICE_H__ |
81 | |
OLD | NEW |