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

Issue 12147002: Add a receiver interface to RemovableStorageNotifications. (Closed)

Created:
7 years, 10 months ago by Greg Billock
Modified:
7 years, 10 months ago
CC:
chromium-reviews, Aaron Boodman, sail+watch_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add a receiver interface to RemovableStorageNotifications. The receiver interface separates the API for systems that issue notifications from the API that observes notifications. R=vandebo@chromium.org BUG=149059 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180881

Patch Set 1 #

Total comments: 28

Patch Set 2 : Various fixes: accessor method, TODOs, etc. #

Patch Set 3 : Merge to head #

Patch Set 4 : Pass params to ProcessAttach #

Patch Set 5 : Rebase #

Patch Set 6 : More cross-platform fixes #

Patch Set 7 : Set up image capture with notifications #

Patch Set 8 : Merge to head #

Patch Set 9 : Merging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -90 lines) Patch
M chrome/browser/chrome_browser_main_linux.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_mac.mm View 1 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/system_monitor/image_capture_device_manager.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/image_capture_device_manager.mm View 1 2 3 4 5 6 7 chunks +25 lines, -10 lines 0 comments Download
M chrome/browser/system_monitor/image_capture_device_manager_unittest.mm View 1 2 3 4 5 6 7 8 5 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/system_monitor/media_storage_util.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/media_storage_util_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux.h View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux.cc View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/system_monitor/portable_device_watcher_win.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/portable_device_watcher_win.cc View 1 2 3 4 5 6 7 6 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_chromeos.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_linux.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_mac.mm View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_window_win.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_window_win_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/system_monitor/removable_storage_notifications.h View 1 2 3 4 5 6 7 8 3 chunks +28 lines, -13 lines 0 comments Download
M chrome/browser/system_monitor/removable_storage_notifications.cc View 1 2 3 4 5 6 7 8 2 chunks +47 lines, -10 lines 0 comments Download
M chrome/browser/system_monitor/removable_storage_notifications_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/system_monitor/test_removable_storage_notifications.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/test_removable_storage_notifications.cc View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/volume_mount_watcher_win.h View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/system_monitor/volume_mount_watcher_win.cc View 1 2 3 4 5 6 7 8 5 chunks +12 lines, -11 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Greg Billock
7 years, 10 months ago (2013-01-31 22:25:06 UTC) #1
vandebo (ex-Chrome)
Not sure if all my suggestions are compatible. https://codereview.chromium.org/12147002/diff/1/chrome/browser/chrome_browser_main_linux.cc File chrome/browser/chrome_browser_main_linux.cc (right): https://codereview.chromium.org/12147002/diff/1/chrome/browser/chrome_browser_main_linux.cc#newcode149 chrome/browser/chrome_browser_main_linux.cc:149: media_transfer_protocol_device_observer_.reset( ...
7 years, 10 months ago (2013-01-31 23:51:29 UTC) #2
Greg Billock
https://codereview.chromium.org/12147002/diff/1/chrome/browser/chrome_browser_main_linux.cc File chrome/browser/chrome_browser_main_linux.cc (right): https://codereview.chromium.org/12147002/diff/1/chrome/browser/chrome_browser_main_linux.cc#newcode149 chrome/browser/chrome_browser_main_linux.cc:149: media_transfer_protocol_device_observer_.reset( On 2013/01/31 23:51:29, vandebo wrote: > Add a ...
7 years, 10 months ago (2013-02-01 18:28:42 UTC) #3
vandebo (ex-Chrome)
https://codereview.chromium.org/12147002/diff/1/chrome/browser/system_monitor/image_capture_device_manager.h File chrome/browser/system_monitor/image_capture_device_manager.h (right): https://codereview.chromium.org/12147002/diff/1/chrome/browser/system_monitor/image_capture_device_manager.h#newcode37 chrome/browser/system_monitor/image_capture_device_manager.h:37: void SetNotifications(RemovableStorageNotifications::Receiver* notifications); On 2013/02/01 18:28:42, Greg Billock wrote: ...
7 years, 10 months ago (2013-02-01 18:59:55 UTC) #4
Greg Billock
https://codereview.chromium.org/12147002/diff/1/chrome/browser/system_monitor/image_capture_device_manager.h File chrome/browser/system_monitor/image_capture_device_manager.h (right): https://codereview.chromium.org/12147002/diff/1/chrome/browser/system_monitor/image_capture_device_manager.h#newcode37 chrome/browser/system_monitor/image_capture_device_manager.h:37: void SetNotifications(RemovableStorageNotifications::Receiver* notifications); On 2013/02/01 18:59:55, vandebo wrote: > ...
7 years, 10 months ago (2013-02-01 23:05:42 UTC) #5
vandebo (ex-Chrome)
LGTM
7 years, 10 months ago (2013-02-02 01:44:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/12147002/33002
7 years, 10 months ago (2013-02-02 06:23:57 UTC) #7
commit-bot: I haz the power
Presubmit check for 12147002-33002 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 10 months ago (2013-02-02 06:24:07 UTC) #8
Greg Billock
On 2013/02/02 06:24:07, I haz the power (commit-bot) wrote: > Presubmit check for 12147002-33002 failed ...
7 years, 10 months ago (2013-02-04 16:09:13 UTC) #9
Matt Perry
lgtm
7 years, 10 months ago (2013-02-04 19:27:04 UTC) #10
Lei Zhang
chrome/browser/chrome_browser_main* lgtm
7 years, 10 months ago (2013-02-04 19:31:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/12147002/33002
7 years, 10 months ago (2013-02-04 19:42:58 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-04 20:30:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/12147002/39004
7 years, 10 months ago (2013-02-04 21:59:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/12147002/39004
7 years, 10 months ago (2013-02-05 23:32:43 UTC) #15
commit-bot: I haz the power
Failed to apply patch for chrome/browser/media_gallery/media_file_system_registry_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-05 23:32:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/12147002/53001
7 years, 10 months ago (2013-02-06 01:09:19 UTC) #17
commit-bot: I haz the power
7 years, 10 months ago (2013-02-06 03:03:53 UTC) #18
Message was sent while issue was closed.
Change committed as 180881

Powered by Google App Engine
This is Rietveld 408576698