OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 ANDROID_WEBVIEW_COMMON_AW_PATHS_H__ | 5 #ifndef ANDROID_WEBVIEW_COMMON_AW_PATHS_H__ |
6 #define ANDROID_WEBVIEW_COMMON_AW_PATHS_H__ | 6 #define ANDROID_WEBVIEW_COMMON_AW_PATHS_H__ |
7 | 7 |
8 // This file declares path keys for webview. These can be used with | 8 // This file declares path keys for webview. These can be used with |
9 // the PathService to access various special directories and files. | 9 // the PathService to access various special directories and files. |
10 | 10 |
11 namespace android_webview { | 11 namespace android_webview { |
12 | 12 |
13 enum { | 13 enum { |
14 PATH_START = 11000, | 14 PATH_START = 11000, |
15 | 15 |
16 DIR_CRASH_DUMPS = PATH_START, // Directory where crash dumps are written. | 16 DIR_CRASH_DUMPS = PATH_START, // Directory where crash dumps are written. |
17 | 17 |
| 18 DIR_SAFE_BROWSING, // Directory where safe browsing related cookies are |
| 19 // stored. |
| 20 |
18 PATH_END | 21 PATH_END |
19 }; | 22 }; |
20 | 23 |
21 // Call once to register the provider for the path keys defined above. | 24 // Call once to register the provider for the path keys defined above. |
22 void RegisterPathProvider(); | 25 void RegisterPathProvider(); |
23 | 26 |
24 } // namespace android_webview | 27 } // namespace android_webview |
25 | 28 |
26 #endif // ANDROID_WEBVIEW_COMMON_AW_PATHS_H__ | 29 #endif // ANDROID_WEBVIEW_COMMON_AW_PATHS_H__ |
OLD | NEW |