Chromium Code Reviews| 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 cfa6e146c652138fddbf008a910ac3766825fd5b..d4a0457435570929e7931593c44a8c809863a2e1 100644 | 
| --- a/chrome/browser/automation/automation_provider_observers.h | 
| +++ b/chrome/browser/automation/automation_provider_observers.h | 
| @@ -10,12 +10,15 @@ | 
| #include <map> | 
| #include <set> | 
| +#include "base/scoped_ptr.h" | 
| #include "chrome/browser/automation/automation_provider_json.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" | 
| @@ -38,6 +41,10 @@ class SavePackage; | 
| class TabContents; | 
| class TranslateInfoBarDelegate; | 
| +namespace history { | 
| +class TopSites; | 
| +} | 
| + | 
| namespace IPC { | 
| class Message; | 
| } | 
| @@ -920,6 +927,25 @@ class PageSnapshotTaker : public DomOperationObserver { | 
| DISALLOW_COPY_AND_ASSIGN(PageSnapshotTaker); | 
| }; | 
| 
 
Nirnimesh
2010/11/16 22:25:05
Please add a comment stating the purpose
 
 | 
| +class NTPInfoObserver { | 
| + public: | 
| + NTPInfoObserver(AutomationProvider* automation, | 
| + IPC::Message* reply_message, | 
| + CancelableRequestConsumer* consumer); | 
| + | 
| + private: | 
| + void OnTopSitesRefreshed(); | 
| + void OnTopSitesReceived(const 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 { |