| Index: chrome/browser/extensions/api/history/history_api.cc
|
| diff --git a/chrome/browser/extensions/api/history/history_api.cc b/chrome/browser/extensions/api/history/history_api.cc
|
| index 196ecaaf4cc5e6a73c38a7a5f77446573959fc41..7e2ca2329d56bbc933d072f2d551f9cd5dbb84b2 100644
|
| --- a/chrome/browser/extensions/api/history/history_api.cc
|
| +++ b/chrome/browser/extensions/api/history/history_api.cc
|
| @@ -398,7 +398,7 @@ bool HistoryDeleteUrlFunction::RunAsync() {
|
| // Also clean out from the activity log. If the activity log testing flag is
|
| // set then don't clean so testers can see what potentially malicious
|
| // extensions have been trying to clean from their logs.
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableExtensionActivityLogTesting)) {
|
| ActivityLog* activity_log = ActivityLog::GetInstance(GetProfile());
|
| DCHECK(activity_log);
|
| @@ -431,7 +431,7 @@ bool HistoryDeleteRangeFunction::RunAsyncImpl() {
|
| &task_tracker_);
|
|
|
| // Also clean from the activity log unless in testing mode.
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableExtensionActivityLogTesting)) {
|
| ActivityLog* activity_log = ActivityLog::GetInstance(GetProfile());
|
| DCHECK(activity_log);
|
| @@ -461,7 +461,7 @@ bool HistoryDeleteAllFunction::RunAsyncImpl() {
|
| &task_tracker_);
|
|
|
| // Also clean from the activity log unless in testing mode.
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableExtensionActivityLogTesting)) {
|
| ActivityLog* activity_log = ActivityLog::GetInstance(GetProfile());
|
| DCHECK(activity_log);
|
|
|