chromium/chrome/browser/ui/webui/chrome_content_browser_client_webui_part.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/webui/chrome_content_browser_client_webui_part.h"

#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/webui_url_constants.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
#include "extensions/common/constants.h"
#include "third_party/blink/public/common/web_preferences/web_preferences.h"

namespace {

// Returns whether any prefs were changed.
bool CopyFontPrefs(const blink::web_pref::WebPreferences& source,
                   blink::web_pref::WebPreferences* destination) {}

// Returns the visible URL or GURL() if unavailable.
GURL GetVisibleURL(content::WebContents* web_contents) {}

}  // namespace

ChromeContentBrowserClientWebUiPart::ChromeContentBrowserClientWebUiPart() =
    default;
ChromeContentBrowserClientWebUiPart::~ChromeContentBrowserClientWebUiPart() =
    default;

void ChromeContentBrowserClientWebUiPart::OverrideWebkitPrefs(
    content::WebContents* web_contents,
    blink::web_pref::WebPreferences* web_prefs) {}

bool ChromeContentBrowserClientWebUiPart::OverrideWebPreferencesAfterNavigation(
    content::WebContents* web_contents,
    blink::web_pref::WebPreferences* web_prefs) {}