| Index: chrome/browser/extensions/activity_log/activity_log.cc
|
| diff --git a/chrome/browser/extensions/activity_log/activity_log.cc b/chrome/browser/extensions/activity_log/activity_log.cc
|
| index 83935ca88ddc84becb141f594be666a68cfb3882..1ae30589c641777146503f1dd34a1c1ce4d36e88 100644
|
| --- a/chrome/browser/extensions/activity_log/activity_log.cc
|
| +++ b/chrome/browser/extensions/activity_log/activity_log.cc
|
| @@ -394,7 +394,7 @@ ActivityLog::ActivityLog(content::BrowserContext* context)
|
| FROM_HERE,
|
| base::Bind(&ActivityLog::StartObserving, base::Unretained(this)));
|
|
|
| -// None of this should run on Android since the AL is behind ENABLE_EXTENSION
|
| +// None of this should run on Android since the AL is behind ENABLE_EXTENSIONS
|
| // checks. However, UmaPolicy can't even compile on Android because it uses
|
| // BrowserList and related classes that aren't compiled for Android.
|
| #if !defined(OS_ANDROID)
|
| @@ -566,6 +566,7 @@ void ActivityLog::LogAction(scoped_refptr<Action> action) {
|
| VLOG(1) << action->PrintForDebug();
|
| }
|
|
|
| +#if defined(ENABLE_EXTENSIONS)
|
| void ActivityLog::OnScriptsExecuted(
|
| const content::WebContents* web_contents,
|
| const ExecutingScriptsMap& extension_ids,
|
| @@ -609,6 +610,7 @@ void ActivityLog::OnScriptsExecuted(
|
| }
|
| }
|
| }
|
| +#endif
|
|
|
| void ActivityLog::OnApiEventDispatched(const std::string& extension_id,
|
| const std::string& event_name,
|
|
|