blob: 5cbb58a23dbdf90ea3762173baf9351f5e9bd630 [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ON_DEVICE_TRANSLATION_CONSTANTS_H_
#define CHROME_BROWSER_ON_DEVICE_TRANSLATION_CONSTANTS_H_
#include "base/files/file_path.h"
namespace on_device_translation {
// The installation location of the TranslateKit binary component relative to
// the User Data directory.
extern const base::FilePath::CharType
kTranslateKitBinaryInstallationRelativeDir[];
// The installation location of the TranslateKit langaage package component
// relative to the User Data directory.
extern const base::FilePath::CharType
kTranslateKitLanguagePackInstallationRelativeDir[];
// The maximum number of pending tasks in the task queue in
// OnDeviceTranslationServiceController. When the number of pending tasks will
// exceed this limit, the request will fail.
extern const size_t kMaxPendingTaskCount;
} // namespace on_device_translation
#endif // CHROME_BROWSER_ON_DEVICE_TRANSLATION_CONSTANTS_H_