summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/external_registry_loader_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/external_registry_loader_win.cc')
-rw-r--r--chrome/browser/extensions/external_registry_loader_win.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/extensions/external_registry_loader_win.cc b/chrome/browser/extensions/external_registry_loader_win.cc
index 23ed0ab..21f54f5 100644
--- a/chrome/browser/extensions/external_registry_loader_win.cc
+++ b/chrome/browser/extensions/external_registry_loader_win.cc
@@ -56,11 +56,11 @@ void ExternalRegistryLoader::LoadOnFileThread() {
// A map of IDs, to weed out duplicates between HKCU and HKLM.
std::set<string16> keys;
base::win::RegistryKeyIterator iterator_machine_key(
- HKEY_LOCAL_MACHINE, ASCIIToWide(kRegistryExtensions).c_str());
+ HKEY_LOCAL_MACHINE, base::ASCIIToWide(kRegistryExtensions).c_str());
for (; iterator_machine_key.Valid(); ++iterator_machine_key)
keys.insert(iterator_machine_key.Name());
base::win::RegistryKeyIterator iterator_user_key(
- HKEY_CURRENT_USER, ASCIIToWide(kRegistryExtensions).c_str());
+ HKEY_CURRENT_USER, base::ASCIIToWide(kRegistryExtensions).c_str());
for (; iterator_user_key.Valid(); ++iterator_user_key)
keys.insert(iterator_user_key.Name());
@@ -70,7 +70,7 @@ void ExternalRegistryLoader::LoadOnFileThread() {
for (std::set<string16>::const_iterator it = keys.begin();
it != keys.end(); ++it) {
base::win::RegKey key;
- string16 key_path = ASCIIToWide(kRegistryExtensions);
+ string16 key_path = base::ASCIIToWide(kRegistryExtensions);
key_path.append(L"\\");
key_path.append(*it);
if (key.Open(HKEY_LOCAL_MACHINE,
@@ -124,7 +124,7 @@ void ExternalRegistryLoader::LoadOnFileThread() {
continue;
}
- std::string id = WideToASCII(*it);
+ std::string id = base::WideToASCII(*it);
StringToLowerASCII(&id);
if (!Extension::IdIsValid(id)) {
LOG(ERROR) << "Invalid id value " << id
@@ -132,7 +132,7 @@ void ExternalRegistryLoader::LoadOnFileThread() {
continue;
}
- Version version(WideToASCII(extension_version));
+ Version version(base::WideToASCII(extension_version));
if (!version.IsValid()) {
LOG(ERROR) << "Invalid version value " << extension_version
<< " for key " << key_path << ".";
@@ -141,7 +141,7 @@ void ExternalRegistryLoader::LoadOnFileThread() {
prefs->SetString(
id + "." + ExternalProviderImpl::kExternalVersion,
- WideToASCII(extension_version));
+ base::WideToASCII(extension_version));
prefs->SetString(
id + "." + ExternalProviderImpl::kExternalCrx,
extension_path_str);