| 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 8a36b6947476fd1ee1ba4758ff27e4b9a1d0efcb..1b8774418bbf95aca88bd96b0fb7582f3ed1a787 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -720,13 +720,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,
|
| @@ -846,7 +839,7 @@ void ChromeContentBrowserClient::RenderProcessHostCreated(
|
| profile->IsOffTheRecord()));
|
|
|
| host->Send(new ChromeViewMsg_SetExtensionActivityLogEnabled(
|
| - IsExtensionActivityLogEnabledForProfile(profile)));
|
| + extensions::ActivityLog::GetInstance(profile)->IsLogEnabled()));
|
|
|
| SendExtensionWebRequestStatusToHost(host);
|
|
|
|
|