Index: chrome/browser/apps/ephemeral_app_throttle.cc |
diff --git a/chrome/browser/apps/ephemeral_app_throttle.cc b/chrome/browser/apps/ephemeral_app_throttle.cc |
index d4b04070ae1e34379846ebd7456c1984d48a4b9e..504e1b09d9e47299ffa279d8961d7cd4ccdea2e2 100644 |
--- a/chrome/browser/apps/ephemeral_app_throttle.cc |
+++ b/chrome/browser/apps/ephemeral_app_throttle.cc |
@@ -11,6 +11,7 @@ |
#include "chrome/browser/profiles/profile_io_data.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/extensions/extension_constants.h" |
+#include "components/crx_file/id_util.h" |
#include "components/navigation_interception/intercept_navigation_resource_throttle.h" |
#include "components/navigation_interception/navigation_params.h" |
#include "content/public/browser/browser_thread.h" |
@@ -91,7 +92,7 @@ EphemeralAppThrottle::MaybeCreateThrottleForLaunch( |
return NULL; |
std::string app_id(request->url().ExtractFileName()); |
- if (!Extension::IdIsValid(app_id)) |
+ if (!crx_file::id_util::IdIsValid(app_id)) |
return NULL; |
return new navigation_interception::InterceptNavigationResourceThrottle( |