| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index 01a39e44a743d44a64c66b6cd6c04367843c625b..7aa8f638304b73ef46b9ece75328c5d23f12224f 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -3630,6 +3630,14 @@ void TestingAutomationProvider::ClearBrowsingData(
|
| string_to_time_period["LAST_DAY"] = BrowsingDataRemover::LAST_DAY;
|
| string_to_time_period["LAST_WEEK"] = BrowsingDataRemover::LAST_WEEK;
|
| string_to_time_period["FOUR_WEEKS"] = BrowsingDataRemover::FOUR_WEEKS;
|
| + string_to_time_period["EXCEPT_LAST_HOUR"] =
|
| + BrowsingDataRemover::EXCEPT_LAST_HOUR;
|
| + string_to_time_period["EXCEPT_LAST_DAY"] =
|
| + BrowsingDataRemover::EXCEPT_LAST_DAY;
|
| + string_to_time_period["EXCEPT_LAST_WEEK"] =
|
| + BrowsingDataRemover::EXCEPT_LAST_WEEK;
|
| + string_to_time_period["EXCEPT_FOUR_WEEKS"] =
|
| + BrowsingDataRemover::EXCEPT_FOUR_WEEKS;
|
| string_to_time_period["EVERYTHING"] = BrowsingDataRemover::EVERYTHING;
|
|
|
| std::map<std::string, int> string_to_mask_value;
|
| @@ -3670,7 +3678,7 @@ void TestingAutomationProvider::ClearBrowsingData(
|
| }
|
|
|
| BrowsingDataRemover* remover = new BrowsingDataRemover(
|
| - profile(), string_to_time_period[time_period], base::Time());
|
| + profile(), string_to_time_period[time_period]);
|
|
|
| remover->AddObserver(
|
| new AutomationProviderBrowsingDataObserver(this, reply_message));
|
|
|