| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index d892388f609154fc306b555b959c284e1a0b3004..add4e9c2f549f932bb73dfcef47c1d461ed06a75 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -2267,6 +2267,7 @@ void TestingAutomationProvider::SendJSONRequest(int handle,
|
| handler_map["GetVolumeInfo"] = &TestingAutomationProvider::GetVolumeInfo;
|
| handler_map["SetVolume"] = &TestingAutomationProvider::SetVolume;
|
| handler_map["SetMute"] = &TestingAutomationProvider::SetMute;
|
| +
|
| #endif // defined(OS_CHROMEOS)
|
|
|
| std::map<std::string, BrowserJsonHandler> browser_handler_map;
|
| @@ -2431,6 +2432,12 @@ void TestingAutomationProvider::SendJSONRequest(int handle,
|
| browser_handler_map["SetAppLaunchType"] =
|
| &TestingAutomationProvider::SetAppLaunchType;
|
|
|
| +#if defined(OS_CHROMEOS)
|
| + browser_handler_map["CaptureProfilePhoto"] =
|
| + &TestingAutomationProvider::CaptureProfilePhoto;
|
| +
|
| +#endif // defined(OS_CHROMEOS)
|
| +
|
| if (handler_map.find(std::string(command)) != handler_map.end()) {
|
| (this->*handler_map[command])(dict_value, reply_message);
|
| } else if (browser_handler_map.find(std::string(command)) !=
|
|
|