| Index: chrome/browser/automation/automation_provider.cc
|
| ===================================================================
|
| --- chrome/browser/automation/automation_provider.cc (revision 49869)
|
| +++ chrome/browser/automation/automation_provider.cc (working copy)
|
| @@ -2077,22 +2077,6 @@
|
| browser->window()->GetLocationBar()->AcceptInput();
|
| }
|
|
|
| -// Sample json input: { "command": "GetInitialLoadTimes" }
|
| -// Refer to InitialLoadObserver::GetTimingInformation() for sample output.
|
| -void AutomationProvider::GetInitialLoadTimes(
|
| - Browser*,
|
| - DictionaryValue*,
|
| - IPC::Message* reply_message) {
|
| - scoped_ptr<DictionaryValue> return_value(
|
| - initial_load_observer_->GetTimingInformation());
|
| -
|
| - std::string json_return;
|
| - base::JSONWriter::Write(return_value.get(), false, &json_return);
|
| - AutomationMsg_SendJSONRequest::WriteReplyParams(
|
| - reply_message, json_return, true);
|
| - Send(reply_message);
|
| -}
|
| -
|
| // Sample json input: { "command": "GetPluginsInfo" }
|
| // Refer chrome/test/pyautolib/plugins_info.py for sample json output.
|
| void AutomationProvider::GetPluginsInfo(Browser* browser,
|
| @@ -2255,8 +2239,6 @@
|
| handler_map["WaitForAllDownloadsToComplete"] =
|
| &AutomationProvider::WaitForDownloadsToComplete;
|
|
|
| - handler_map["GetInitialLoadTimes"] = &AutomationProvider::GetInitialLoadTimes;
|
| -
|
| if (error_string.empty()) {
|
| if (handler_map.find(std::string(command)) != handler_map.end()) {
|
| (this->*handler_map[command])(browser, dict_value, reply_message);
|
|
|