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
   36
   37

android_webview / common / aw_paths.h [blame]

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ANDROID_WEBVIEW_COMMON_AW_PATHS_H__
#define ANDROID_WEBVIEW_COMMON_AW_PATHS_H__

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

namespace android_webview {

enum {
  PATH_START = 11000,

  DIR_CRASH_DUMPS = PATH_START,  // Directory where crash dumps are written.

  DIR_COMPONENTS_ROOT,  // Directory where components installed via component
                        // updater.

  DIR_COMPONENTS_TEMP,  // Directory where temporary copies of components are
                        // made.

  DIR_SAFE_BROWSING,  // Directory where safe browsing related cookies are
                      // stored.

  DIR_LOCAL_TRACES,  // Directory where local traces are written.

  PATH_END
};

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

}  // namespace android_webview

#endif  // ANDROID_WEBVIEW_COMMON_AW_PATHS_H__