| Index: chrome/browser/automation/automation_provider.h
|
| diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h
|
| index bd37a4b9323497977fd56f09d8965755a1c41e3f..b644dd4038b18b6df863eea3c4b36740ebb5c1a2 100644
|
| --- a/chrome/browser/automation/automation_provider.h
|
| +++ b/chrome/browser/automation/automation_provider.h
|
| @@ -50,6 +50,7 @@ class ExtensionTestResultNotificationObserver;
|
| class ExternalTabContainer;
|
| class LoginHandler;
|
| class MetricEventDurationObserver;
|
| +class InitialLoadObserver;
|
| class NavigationControllerRestoredObserver;
|
| struct AutocompleteMatchData;
|
|
|
| @@ -376,6 +377,15 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
|
| DictionaryValue* args,
|
| IPC::Message* reply_message);
|
|
|
| + // Return load times of initial tabs.
|
| + // Uses the JSON interface for input/output.
|
| + // Only includes tabs from command line arguments or session restore.
|
| + // See declaration of InitialLoadObserver in automation_provider_observers.h
|
| + // for example response.
|
| + void GetInitialLoadTimes(Browser* browser,
|
| + DictionaryValue* args,
|
| + IPC::Message* reply_message);
|
| +
|
| // Get info about plugins.
|
| // Uses the JSON interface for input/output.
|
| void GetPluginsInfo(Browser* browser,
|
| @@ -770,7 +780,7 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
|
| typedef std::map<int, ExtensionPortContainer*> PortContainerMap;
|
|
|
| scoped_ptr<IPC::ChannelProxy> channel_;
|
| - scoped_ptr<NotificationObserver> initial_load_observer_;
|
| + scoped_ptr<InitialLoadObserver> initial_load_observer_;
|
| scoped_ptr<NotificationObserver> new_tab_ui_load_observer_;
|
| scoped_ptr<NotificationObserver> find_in_page_observer_;
|
| scoped_ptr<NotificationObserver> dom_operation_observer_;
|
|
|