#include <functional>
#include "base/logging.h"
+#include "base/strings/string16.h"
#include "base/strings/string_util.h"
#include "base/win/i18n.h"
#include "chrome/installer/util/google_update_settings.h"
// configured languages.
void GetCandidatesFromSystem(std::vector<std::wstring>* candidates) {
DCHECK(candidates);
- std::wstring language;
+ base::string16 language;
// Omaha gets first pick.
GoogleUpdateSettings::GetLanguage(&language);
for (std::vector<std::wstring>::const_iterator scan = candidates.begin(),
end = candidates.end(); scan != end; ++scan) {
candidate.assign(*scan);
- StringToLowerASCII(&candidate);
+ base::StringToLowerASCII(&candidate);
if (select_predicate(candidate, matched_offset)) {
matched_name->assign(*scan);
return true;