| Index: chrome/browser/ui/webui/options/content_settings_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| index 549856b7957aaa15b4732667f7c4559e08931060..05b39082d2babdd887df36bbf0ca1c3bec5da4a8 100644
|
| --- a/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| @@ -29,6 +29,7 @@
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/content_settings.h"
|
| #include "chrome/common/content_settings_pattern.h"
|
| +#include "chrome/common/extensions/app_launcher_info.h"
|
| #include "chrome/common/extensions/extension_set.h"
|
| #include "chrome/common/extensions/permissions/api_permission.h"
|
| #include "chrome/common/pref_names.h"
|
| @@ -230,7 +231,8 @@ void AddExceptionsGrantedByHostedApps(
|
| AddExceptionForHostedApp(url_pattern, **extension, exceptions);
|
| }
|
| // Retrieve the launch URL.
|
| - std::string launch_url_string = (*extension)->launch_web_url();
|
| + std::string launch_url_string =
|
| + extensions::AppLauncherInfo::GetLaunchWebURL(*extension);
|
| GURL launch_url(launch_url_string);
|
| // Skip adding the launch URL if it is part of the web extent.
|
| if (web_extent.MatchesURL(launch_url)) continue;
|
|
|