1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef WEBLAYER_COMMON_WEBLAYER_PATHS_H_ 6 #define WEBLAYER_COMMON_WEBLAYER_PATHS_H_ 7 8 #include "build/build_config.h" 9 10 // This file declares path keys for weblayer. These can be used with 11 // the PathService to access various special directories and files. 12 13 namespace weblayer { 14 15 enum { 16 PATH_START = 1000, 17 18 DIR_USER_DATA = PATH_START, // Directory where user data can be written. 19 20 #if defined(OS_ANDROID) 21 DIR_CRASH_DUMPS, // Directory where crash dumps are written. 22 #endif 23 24 PATH_END 25 }; 26 27 // Call once to register the provider for the path keys defined above. 28 void RegisterPathProvider(); 29 30 } // namespace weblayer 31 32 #endif // WEBLAYER_COMMON_WEBLAYER_PATHS_H_ 33