| 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 22947f0b45331d9aa91bcfe8e2b340cb58cbb93e..8abbfcbb023b9f46fc31aecf7d11d87dbec6d5c5 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -791,13 +791,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,
|
| @@ -920,7 +913,7 @@ void ChromeContentBrowserClient::RenderProcessHostCreated(
|
| profile->IsOffTheRecord()));
|
|
|
| host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled(
|
| - IsExtensionActivityLogEnabledForProfile(profile)));
|
| + extensions::ActivityLog::GetInstance(profile)->IsLogEnabled()));
|
|
|
| SendExtensionWebRequestStatusToHost(host);
|
|
|
|
|