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

Issue 7523063: Add a hook for capturing a user profile photo and saving it to file and local state. (Closed)

Created:
9 years, 4 months ago by frankf
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add a hook for capturing a user profile photo and saving it to file and local state. BUG=chromium-os:16729 TEST=PyAuto test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95310

Patch Set 1 #

Total comments: 29

Patch Set 2 : Addressed all the comments #

Total comments: 23

Patch Set 3 : Addressed Nirnimesh's comments #

Total comments: 6

Patch Set 4 : Addressed Anton's comments, Added an observer to UserManager #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -9 lines) Patch
M chrome/browser/automation/automation_provider_observers.h View 1 2 3 4 2 chunks +34 lines, -0 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers_chromeos.cc View 1 2 3 4 2 chunks +63 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider_chromeos.cc View 1 2 3 4 3 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/take_photo_view.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/take_photo_view.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.h View 1 2 3 4 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/options/take_photo_dialog.h View 1 2 3 3 chunks +31 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/options/take_photo_dialog.cc View 1 chunk +34 lines, -1 line 0 comments Download
M chrome/test/functional/chromeos_prefs.py View 1 2 3 2 chunks +38 lines, -8 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
frankf
9 years, 4 months ago (2011-07-29 19:11:21 UTC) #1
dennis_jeffrey
http://codereview.chromium.org/7523063/diff/1/chrome/browser/automation/automation_provider_observers.h File chrome/browser/automation/automation_provider_observers.h (right): http://codereview.chromium.org/7523063/diff/1/chrome/browser/automation/automation_provider_observers.h#newcode963 chrome/browser/automation/automation_provider_observers.h:963: // and returns the status to automation provider nit: ...
9 years, 4 months ago (2011-07-29 20:10:06 UTC) #2
frankf
http://codereview.chromium.org/7523063/diff/1/chrome/browser/automation/automation_provider_observers.h File chrome/browser/automation/automation_provider_observers.h (right): http://codereview.chromium.org/7523063/diff/1/chrome/browser/automation/automation_provider_observers.h#newcode963 chrome/browser/automation/automation_provider_observers.h:963: // and returns the status to automation provider On ...
9 years, 4 months ago (2011-07-29 21:50:40 UTC) #3
dennis_jeffrey
LGTM http://codereview.chromium.org/7523063/diff/1/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): http://codereview.chromium.org/7523063/diff/1/chrome/test/pyautolib/pyauto.py#newcode3617 chrome/test/pyautolib/pyauto.py:3617: return self._GetResultFromJSONRequest(cmd_dict) On 2011/07/29 21:50:40, frankf wrote: > ...
9 years, 4 months ago (2011-07-29 23:11:46 UTC) #4
Nirnimesh
http://codereview.chromium.org/7523063/diff/6002/chrome/browser/automation/automation_provider_observers.h File chrome/browser/automation/automation_provider_observers.h (right): http://codereview.chromium.org/7523063/diff/6002/chrome/browser/automation/automation_provider_observers.h#newcode30 chrome/browser/automation/automation_provider_observers.h:30: #include "chrome/browser/chromeos/options/take_photo_dialog.h" Including the .h might not be necessary. ...
9 years, 4 months ago (2011-07-30 10:32:31 UTC) #5
frankf
@Anton: Please take a look at the change to take_photo_view and perhaps take_photo_dialog http://codereview.chromium.org/7523063/diff/6002/chrome/browser/automation/automation_provider_observers.h File ...
9 years, 4 months ago (2011-08-01 19:31:09 UTC) #6
whywhat
http://codereview.chromium.org/7523063/diff/5005/chrome/browser/chromeos/login/take_photo_view.h File chrome/browser/chromeos/login/take_photo_view.h (right): http://codereview.chromium.org/7523063/diff/5005/chrome/browser/chromeos/login/take_photo_view.h#newcode72 chrome/browser/chromeos/login/take_photo_view.h:72: virtual void ButtonPressed(); Shouldn't be virtual. Should be private ...
9 years, 4 months ago (2011-08-02 15:17:02 UTC) #7
whywhat
LGTM http://codereview.chromium.org/7523063/diff/5005/chrome/browser/automation/automation_provider_observers.h File chrome/browser/automation/automation_provider_observers.h (right): http://codereview.chromium.org/7523063/diff/5005/chrome/browser/automation/automation_provider_observers.h#newcode970 chrome/browser/automation/automation_provider_observers.h:970: virtual void OnCaptureSuccess( OVERRIDE should be added to ...
9 years, 4 months ago (2011-08-02 15:17:35 UTC) #8
Nirnimesh
LGTM. Please use the trybots before committing.
9 years, 4 months ago (2011-08-02 19:18:20 UTC) #9
frankf
http://codereview.chromium.org/7523063/diff/5005/chrome/browser/automation/automation_provider_observers.h File chrome/browser/automation/automation_provider_observers.h (right): http://codereview.chromium.org/7523063/diff/5005/chrome/browser/automation/automation_provider_observers.h#newcode970 chrome/browser/automation/automation_provider_observers.h:970: virtual void OnCaptureSuccess( On 2011/08/02 15:17:35, whywhat wrote: > ...
9 years, 4 months ago (2011-08-03 01:41:48 UTC) #10
commit-bot: I haz the power
9 years, 4 months ago (2011-08-03 21:01:17 UTC) #11
Change committed as 95310

Powered by Google App Engine
This is Rietveld 408576698