blob: c7ba4ebe62037d0750b9f5ff5cb3b5b8776a0c16 [file] [log] [blame]
// Copyright 2021 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 EXTENSIONS_BROWSER_API_SCRIPTING_CONSTANTS_H_
#define EXTENSIONS_BROWSER_API_SCRIPTING_CONSTANTS_H_
namespace extensions {
namespace scripting {
// TODO(crbug.com/1168627): The can_execute_script_everywhere flag is currently
// only used by the legacy version Chromevox extension. We can assume it will
// always be false here, but it may be added back if needed.
constexpr bool kScriptsCanExecuteEverywhere = false;
// The all_urls_includes_chrome_urls flag is only true for the legacy ChromeVox
// extension, which does not call this API. Therefore we can assume it to be
// always false.
constexpr bool kAllUrlsIncludesChromeUrls = false;
// The key for the field in the extension's StateStore for dynamic content
// script metadata that persists across sessions.
constexpr char kRegisteredScriptsStorageKey[] = "dynamic_scripts";
// The key for storing a dynamic content script's id.
constexpr char kId[] = "id";
} // namespace scripting
} // namespace extensions
#endif // EXTENSIONS_BROWSER_API_SCRIPTING_CONSTANTS_H_