webdata_constants.h 865 B

1234567891011121314151617181920
  1. // Copyright 2013 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. #ifndef COMPONENTS_WEBDATA_COMMON_WEBDATA_CONSTANTS_H_
  5. #define COMPONENTS_WEBDATA_COMMON_WEBDATA_CONSTANTS_H_
  6. #include "base/files/file_path.h"
  7. #include "build/build_config.h"
  8. #include "components/webdata/common/webdata_export.h"
  9. WEBDATA_EXPORT extern const base::FilePath::CharType kWebDataFilename[];
  10. // Note: On desktop, the account-scoped web data store is only stored in memory,
  11. // so doesn't have a file path. So this constant only exists on mobile.
  12. #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS)
  13. WEBDATA_EXPORT extern const base::FilePath::CharType kAccountWebDataFilename[];
  14. #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS)
  15. #endif // COMPONENTS_WEBDATA_COMMON_WEBDATA_CONSTANTS_H_