summaryrefslogtreecommitdiffstats
path: root/ios/chrome/browser/chrome_paths.h
blob: f447859caa968646c1f3f70de83c35e6c238fefa (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
34
35
// Copyright 2015 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 IOS_CHROME_BROWSER_CHROME_PATHS_H_
#define IOS_CHROME_BROWSER_CHROME_PATHS_H_

// This file declares path keys for the Chrome on iOS application.  These can be
// used with the PathService to access various special directories and files.

namespace ios {

enum {
  PATH_START = 2000,

  DIR_USER_DATA = PATH_START,  // Directory where user data can be written.
  DIR_CRASH_DUMPS,             // Directory where crash dumps are written.
  DIR_TEST_DATA,               // Directory where unit test data resides.
  DIR_GLOBAL_GCM_STORE,        // Directory where the global GCM instance
                               // stores its data.
  FILE_LOCAL_STATE,            // Path and filename to the file in which
                               // installation-specific state is saved.
  FILE_RESOURCES_PACK,         // Full path to the .pak file containing binary
                               // data (e.g. html files and images used by
                               // internal pages).

  PATH_END
};

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

}  // namespace

#endif  // IOS_CHROME_BROWSER_CHROME_PATHS_H_