blob: fcad23d159486a75866f35d6ef833d81190e271a [file] [log] [blame]
// Copyright 2019 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_ASH_FILE_MANAGER_FILE_MANAGER_STRING_UTIL_H_
#define CHROME_BROWSER_ASH_FILE_MANAGER_FILE_MANAGER_STRING_UTIL_H_
#include <string>
#include "base/values.h"
class Profile;
namespace variations {
class VariationsService;
} // namespace variations
// `application_locale` should be the locale associated with
// `g_browser_process`.
base::Value::Dict GetFileManagerStrings(const std::string& application_locale);
base::Value::Dict GetFileManagerPluralStrings();
// This function will return a number between 0 (Sunday) and 6 (Saturday)
// to indicate which day is the start of week based on the current locale.
int GetLocaleBasedWeekStart();
// `application_locale` should be the locale associated with
// `g_browser_process`.
void AddFileManagerFeatureStrings(
const std::string& ui_locale,
const std::string& application_locale,
const variations::VariationsService& variations_service,
Profile* profile,
base::Value::Dict* dict);
#endif // CHROME_BROWSER_ASH_FILE_MANAGER_FILE_MANAGER_STRING_UTIL_H_