Index: chrome/browser/web_applications/web_app_mac.mm |
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm |
index a0a3ba05aaf106c7daeaa77556482ed75e995b8c..a49e357e5f570ecb640aaf22b0696759a8716588 100644 |
--- a/chrome/browser/web_applications/web_app_mac.mm |
+++ b/chrome/browser/web_applications/web_app_mac.mm |
@@ -38,6 +38,7 @@ |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/chrome_version_info.h" |
#import "chrome/common/mac/app_mode_common.h" |
+#include "components/crx_file/id_util.h" |
#include "content/public/browser/browser_thread.h" |
#include "extensions/browser/extension_registry.h" |
#include "extensions/common/extension.h" |
@@ -447,7 +448,7 @@ bool IsShimForProfile(const base::FilePath& base_name, |
std::string app_id = base_name.RemoveExtension().value(); |
// Strip (profile_base_name + " ") from the start. |
app_id = app_id.substr(profile_base_name.size() + 1); |
- return extensions::Extension::IdIsValid(app_id); |
+ return crx_file::id_util::IdIsValid(app_id); |
} |
std::vector<base::FilePath> GetAllAppBundlesInPath( |