Index: chrome/browser/extensions/external_registry_loader_win.cc |
diff --git a/chrome/browser/extensions/external_registry_loader_win.cc b/chrome/browser/extensions/external_registry_loader_win.cc |
index 6de5441b11d1e483defa41dd3126ba90931501d7..d471a601276213efcb37282904fe995b5fde0d0a 100644 |
--- a/chrome/browser/extensions/external_registry_loader_win.cc |
+++ b/chrome/browser/extensions/external_registry_loader_win.cc |
@@ -17,8 +17,8 @@ |
#include "base/version.h" |
#include "base/win/registry.h" |
#include "chrome/browser/extensions/external_provider_impl.h" |
+#include "components/crx_file/id_util.h" |
#include "content/public/browser/browser_thread.h" |
-#include "extensions/common/extension.h" |
using content::BrowserThread; |
@@ -97,7 +97,7 @@ void ExternalRegistryLoader::LoadOnFileThread() { |
std::string id = base::UTF16ToASCII(*it); |
base::StringToLowerASCII(&id); |
- if (!Extension::IdIsValid(id)) { |
+ if (!crx_file::id_util::IdIsValid(id)) { |
LOG(ERROR) << "Invalid id value " << id |
<< " for key " << key_path << "."; |
continue; |