| Index: chrome/browser/automation/automation_provider_observers.h
|
| diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h
|
| index fbe8c1552cd6a4ef3f22453316f4475f5703354a..b797960236b930ea25596170d0005f7c6cd0239a 100644
|
| --- a/chrome/browser/automation/automation_provider_observers.h
|
| +++ b/chrome/browser/automation/automation_provider_observers.h
|
| @@ -10,6 +10,7 @@
|
| #include <set>
|
|
|
| #include "chrome/browser/bookmarks/bookmark_model_observer.h"
|
| +#include "chrome/browser/browsing_data_remover.h"
|
| #include "chrome/browser/download/download_manager.h"
|
| #include "chrome/common/notification_observer.h"
|
| #include "chrome/common/notification_registrar.h"
|
| @@ -611,6 +612,22 @@ class AutomationProviderHistoryObserver {
|
| IPC::Message* reply_message_;
|
| };
|
|
|
| +// Allows the automation provider to wait for clearing browser data to finish.
|
| +class AutomationProviderBrowsingDataObserver :
|
| + public BrowsingDataRemover::Observer {
|
| + public:
|
| + AutomationProviderBrowsingDataObserver(
|
| + AutomationProvider* provider,
|
| + IPC::Message* reply_message)
|
| + : provider_(provider),
|
| + reply_message_(reply_message) {}
|
| + void OnBrowsingDataRemoverDone();
|
| +
|
| + private:
|
| + AutomationProvider* provider_;
|
| + IPC::Message* reply_message_;
|
| +};
|
| +
|
| // Allows automation provider to wait until page load after selecting an item
|
| // in the omnibox popup.
|
| class OmniboxAcceptNotificationObserver : public NotificationObserver {
|
|
|