| 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 8aa4767941ed7697820bc4b19339b16019e023bc..18d1a8cdac570f2512f0c2ea45038d5d80866494 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -721,13 +721,6 @@ content::WebContentsViewDelegate*
|
| return chrome::CreateWebContentsViewDelegate(web_contents);
|
| }
|
|
|
| -// Check if the extension activity log is enabled for the profile.
|
| -static bool IsExtensionActivityLogEnabledForProfile(Profile* profile) {
|
| - // crbug.com/247908 - This should be IsLogEnabled except for an issue
|
| - // in chrome_frame_net_tests
|
| - return extensions::ActivityLog::IsLogEnabledOnAnyProfile();
|
| -}
|
| -
|
| void ChromeContentBrowserClient::GuestWebContentsCreated(
|
| WebContents* guest_web_contents,
|
| WebContents* opener_web_contents,
|
| @@ -847,7 +840,7 @@ void ChromeContentBrowserClient::RenderProcessHostCreated(
|
| profile->IsOffTheRecord()));
|
|
|
| host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled(
|
| - IsExtensionActivityLogEnabledForProfile(profile)));
|
| + extensions::ActivityLog::GetInstance(profile)->IsLogEnabled()));
|
|
|
| SendExtensionWebRequestStatusToHost(host);
|
|
|
|
|