Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 7523063: Add a hook for capturing a user profile photo and saving it to file and local state. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f4c62968cd6844cfd39a94dde99f44a5aded3a52..199bff76955393908484e5b61309dc9d0bc3801b 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2272,6 +2272,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;
@@ -2436,6 +2437,8 @@ void TestingAutomationProvider::SendJSONRequest(int handle,
browser_handler_map["SetAppLaunchType"] =
&TestingAutomationProvider::SetAppLaunchType;
#if defined(OS_CHROMEOS)
+ browser_handler_map["CaptureProfilePhoto"] =
+ &TestingAutomationProvider::CaptureProfilePhoto;
browser_handler_map["GetTimeInfo"] = &TestingAutomationProvider::GetTimeInfo;
#endif // defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698