| Index: chrome/browser/automation/automation_provider_observers.h
|
| ===================================================================
|
| --- chrome/browser/automation/automation_provider_observers.h (revision 61074)
|
| +++ chrome/browser/automation/automation_provider_observers.h (working copy)
|
| @@ -10,12 +10,15 @@
|
| #include <map>
|
| #include <set>
|
|
|
| +#include "base/scoped_ptr.h"
|
| #include "chrome/browser/automation/testing_automation_provider.h"
|
| #include "chrome/browser/bookmarks/bookmark_model_observer.h"
|
| #include "chrome/browser/browsing_data_remover.h"
|
| +#include "chrome/browser/cancelable_request.h"
|
| #include "chrome/browser/download/download_item.h"
|
| #include "chrome/browser/download/download_manager.h"
|
| #include "chrome/browser/history/history.h"
|
| +#include "chrome/browser/history/history_types.h"
|
| #include "chrome/browser/importer/importer.h"
|
| #include "chrome/browser/importer/importer_data_types.h"
|
| #include "chrome/browser/password_manager/password_store.h"
|
| @@ -36,6 +39,10 @@
|
| class TabContents;
|
| class TranslateInfoBarDelegate;
|
|
|
| +namespace history {
|
| +class TopSites;
|
| +}
|
| +
|
| namespace IPC {
|
| class Message;
|
| }
|
| @@ -863,6 +870,25 @@
|
| DISALLOW_COPY_AND_ASSIGN(SavePackageNotificationObserver);
|
| };
|
|
|
| +class NTPInfoObserver {
|
| + public:
|
| + NTPInfoObserver(AutomationProvider* automation,
|
| + IPC::Message* reply_message,
|
| + CancelableRequestConsumer* consumer);
|
| +
|
| + private:
|
| + void OnTopSitesRefreshed();
|
| + void OnTopSitesReceived(history::MostVisitedURLList visited_list);
|
| +
|
| + AutomationProvider* automation_;
|
| + IPC::Message* reply_message_;
|
| + CancelableRequestConsumer* consumer_;
|
| + scoped_ptr<DictionaryValue> ntp_info_;
|
| + history::TopSites* top_sites_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(NTPInfoObserver);
|
| +};
|
| +
|
| // Allows automation provider to wait until the autocomplete edit
|
| // has received focus
|
| class AutocompleteEditFocusedObserver : public NotificationObserver {
|
|
|