| Index: chrome/browser/extensions/updater/local_extension_cache.cc
|
| diff --git a/chrome/browser/extensions/updater/local_extension_cache.cc b/chrome/browser/extensions/updater/local_extension_cache.cc
|
| index 34ef19c6a810864734769eb4747a5c256cd45259..5c81e5523aca5d3a4311ed6b6030c83d06be134f 100644
|
| --- a/chrome/browser/extensions/updater/local_extension_cache.cc
|
| +++ b/chrome/browser/extensions/updater/local_extension_cache.cc
|
| @@ -11,8 +11,8 @@
|
| #include "base/strings/string_util.h"
|
| #include "base/sys_info.h"
|
| #include "base/version.h"
|
| +#include "components/crx_file/id_util.h"
|
| #include "content/public/browser/browser_thread.h"
|
| -#include "extensions/common/extension.h"
|
|
|
| namespace extensions {
|
| namespace {
|
| @@ -306,7 +306,7 @@ void LocalExtensionCache::BackendCheckCacheContentsInternal(
|
|
|
| // Enforce a lower-case id.
|
| id = base::StringToLowerASCII(id);
|
| - if (!extensions::Extension::IdIsValid(id)) {
|
| + if (!crx_file::id_util::IdIsValid(id)) {
|
| LOG(ERROR) << "Bad extension id in cache: " << id;
|
| id.clear();
|
| }
|
|
|