blob: c32310e6800323b012a05ef57885d0a8c7ec976b [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include "base/macros.h"
#include "ui/base/resource/scale_factor.h"
class GURL;
namespace base {
class RefCountedMemory;
namespace content {
class WebContents;
namespace settings_utils {
// Invoke UI for network proxy settings.
void ShowNetworkProxySettings(content::WebContents* web_contents);
// Invoke UI for SSL certificates.
void ShowManageSSLCertificates(content::WebContents* web_contents);
// Returns whether |url_string| is a valid startup page. |fixed_url| is set to
// the fixed up, valid URL if not null.
bool FixupAndValidateStartupPage(const std::string& url_string,
GURL* fixed_url);
base::RefCountedMemory* GetFaviconResourceBytes(ui::ScaleFactor scale_factor);
} // namespace settings_utils