| Index: chrome/browser/ui/chrome_pages.cc
|
| diff --git a/chrome/browser/ui/chrome_pages.cc b/chrome/browser/ui/chrome_pages.cc
|
| index 093889d53e32b7b285fd092b23b444449f7c35a7..78e308f7779b2273d221af4b7593f1d268a71104 100644
|
| --- a/chrome/browser/ui/chrome_pages.cc
|
| +++ b/chrome/browser/ui/chrome_pages.cc
|
| @@ -207,20 +207,6 @@ GURL GetSettingsUrl(const std::string& sub_page) {
|
| return GURL(url);
|
| }
|
|
|
| -bool IsTrustedPopupWindowWithScheme(const Browser* browser,
|
| - const std::string& scheme) {
|
| - if (!browser->is_type_popup() || !browser->is_trusted_source())
|
| - return false;
|
| - if (scheme.empty()) // Any trusted popup window
|
| - return true;
|
| - const content::WebContents* web_contents =
|
| - browser->tab_strip_model()->GetWebContentsAt(0);
|
| - if (!web_contents)
|
| - return false;
|
| - GURL url(web_contents->GetURL());
|
| - return url.SchemeIs(scheme.c_str());
|
| -}
|
| -
|
| void ShowSettings(Browser* browser) {
|
| ShowSettingsSubPage(browser, std::string());
|
| }
|
|
|