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