summaryrefslogtreecommitdiffstats
path: root/app/app_paths.h
blob: 23713772330b97eb66964dc91667187a5ff9dfbe (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
33
// Copyright (c) 2009 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 APP_APP_PATHS_H_
#define APP_APP_PATHS_H_

// This file declares path keys for the app module.  These can be used with
// the PathService to access various special directories and files.

namespace app {

enum {
  PATH_START = 2000,

  DIR_LOCALES,              // Directory where locale resources are stored.
  DIR_EXTERNAL_EXTENSIONS,  // Directory where installer places .crx files.

  FILE_RESOURCES_PAK,       // Path to the data .pak file which holds binary
                            // resources.

  // Valid only in development environment; TODO(darin): move these
  DIR_TEST_DATA,            // Directory where unit test data resides.

  PATH_END
};

// Call once to register the provider for the path keys defined above.
void RegisterPathProvider();

}  // namespace app

#endif  // APP_APP_PATHS_H_