| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 232c2c85b4e65c5436d2d5a41f9478cc29a010f4..16be3faed922672166b5d2f6478175934f14b89d 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -31,6 +31,7 @@
|
| #include "chrome/browser/content_settings/host_content_settings_map.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/defaults.h"
|
| +#include "chrome/browser/devtools/devtools_network_controller.h"
|
| #include "chrome/browser/download/download_prefs.h"
|
| #include "chrome/browser/extensions/api/web_request/web_request_api.h"
|
| #include "chrome/browser/extensions/browser_permissions_policy_delegate.h"
|
| @@ -2427,6 +2428,15 @@ void ChromeContentBrowserClient::ClearCookies(RenderViewHost* rvh) {
|
| // BrowsingDataRemover takes care of deleting itself when done.
|
| }
|
|
|
| +void ChromeContentBrowserClient::SetBlockedDomains(
|
| + content::RenderViewHost* rvh,
|
| + const std::string& id,
|
| + const std::vector<std::string>& blocked_domains) {
|
| + Profile* profile = Profile::FromBrowserContext(
|
| + rvh->GetSiteInstance()->GetProcess()->GetBrowserContext());
|
| + DevToolsNetworkController::SetBlockedDomains(profile, id, blocked_domains);
|
| +}
|
| +
|
| base::FilePath ChromeContentBrowserClient::GetDefaultDownloadDirectory() {
|
| return DownloadPrefs::GetDefaultDownloadDirectory();
|
| }
|
|
|