| Index: chrome/browser/automation/automation_provider.cc
|
| ===================================================================
|
| --- chrome/browser/automation/automation_provider.cc (revision 42690)
|
| +++ chrome/browser/automation/automation_provider.cc (working copy)
|
| @@ -33,7 +33,6 @@
|
| #include "chrome/browser/bookmarks/bookmark_storage.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/browser_window.h"
|
| -#include "chrome/browser/browsing_data_remover.h"
|
| #include "chrome/browser/chrome_thread.h"
|
| #include "chrome/browser/dom_operation_notification_details.h"
|
| #include "chrome/browser/debugger/devtools_manager.h"
|
| @@ -507,7 +506,6 @@
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(AutomationMsg_WaitForPopupMenuToOpen,
|
| WaitForPopupMenuToOpen)
|
| #endif
|
| - IPC_MESSAGE_HANDLER(AutomationMsg_RemoveBrowsingData, RemoveBrowsingData)
|
| IPC_END_MESSAGE_MAP()
|
| }
|
|
|
| @@ -2351,14 +2349,6 @@
|
| }
|
| }
|
|
|
| -void AutomationProvider::RemoveBrowsingData(int remove_mask) {
|
| - BrowsingDataRemover* remover;
|
| - remover = new BrowsingDataRemover(profile(),
|
| - BrowsingDataRemover::EVERYTHING, // All time periods.
|
| - base::Time());
|
| - remover->Remove(remove_mask);
|
| - // BrowsingDataRemover deletes itself.
|
| -}
|
|
|
| void AutomationProvider::WaitForBrowserWindowCountToBecome(
|
| int target_count, IPC::Message* reply_message) {
|
|
|