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

Issue 23494053: Remove NOTIFICATION_SYSTEM_SETTING_CHANGED, switch CrosSettings to base::CallbackRegistry. (Closed)

Created:
7 years, 3 months ago by Avi (use Gerrit)
Modified:
7 years, 3 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, nkostylev+watch_chromium.org, dkrahn+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Remove NOTIFICATION_SYSTEM_SETTING_CHANGED, switch CrosSettings to base::CallbackRegistry. BUG=268984 TEST=no change Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224229

Patch Set 1 #

Patch Set 2 : cros2 #

Patch Set 3 : try again #

Patch Set 4 : refptr #

Patch Set 5 : another #

Patch Set 6 : oops #

Total comments: 50

Patch Set 7 : fixes #

Patch Set 8 : rebase #

Patch Set 9 : fix #

Patch Set 10 : fix2 #

Patch Set 11 : trailing space #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -388 lines) Patch
M chrome/browser/chrome_notification_types.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.h View 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.cc View 1 2 3 4 5 6 4 chunks +11 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/attestation/attestation_policy_observer.h View 1 2 3 4 5 6 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/attestation/attestation_policy_observer.cc View 1 2 3 4 5 6 2 chunks +9 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.h View 1 2 3 4 5 6 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 4 5 6 4 chunks +38 lines, -38 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller_auto_login_unittest.cc View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller_browsertest.cc View 1 2 3 4 3 chunks +15 lines, -28 lines 0 comments Download
M chrome/browser/chromeos/login/login_screen_policy_browsertest.cc View 1 2 3 3 chunks +10 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 3 4 5 6 7 3 chunks +10 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/login/version_info_updater.h View 1 2 3 4 5 6 4 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/version_info_updater.cc View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/policy/app_pack_updater.h View 1 2 3 4 5 6 4 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/policy/app_pack_updater.cc View 1 2 3 4 5 6 4 chunks +6 lines, -21 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_policy_service.h View 1 2 3 4 5 6 7 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_policy_service.cc View 1 2 3 4 5 6 7 5 chunks +13 lines, -24 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.h View 1 2 3 4 5 6 5 chunks +15 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +13 lines, -28 lines 0 comments Download
M chrome/browser/chromeos/settings/cros_settings.h View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/settings/cros_settings.cc View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -45 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 5 6 7 4 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h View 1 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 1 2 3 4 5 6 7 8 9 6 chunks +13 lines, -21 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Avi (use Gerrit)
mnissler: chrome/browser/chromeos/(attestation|policy|settings) zelidrag: chrome/browser/chromeos/(app_mode|login), chrome/browser/ui/webui/chromeos nkostylev: chrome/browser/ui/webui/options thestig: chrome/browser/chrome_notification_types.h
7 years, 3 months ago (2013-09-17 19:51:00 UTC) #1
Avi (use Gerrit)
On 2013/09/17 19:51:00, Avi wrote: > mnissler: chrome/browser/chromeos/(attestation|policy|settings) > zelidrag: chrome/browser/chromeos/(app_mode|login), > chrome/browser/ui/webui/chromeos > nkostylev: ...
7 years, 3 months ago (2013-09-17 20:30:11 UTC) #2
Avi (use Gerrit)
On 2013/09/17 20:30:11, Avi wrote: > On 2013/09/17 19:51:00, Avi wrote: > > mnissler: chrome/browser/chromeos/(attestation|policy|settings) ...
7 years, 3 months ago (2013-09-17 23:09:21 UTC) #3
Lei Zhang
https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/attestation/attestation_policy_observer.h File chrome/browser/chromeos/attestation/attestation_policy_observer.h (right): https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/attestation/attestation_policy_observer.h#newcode46 chrome/browser/chromeos/attestation/attestation_policy_observer.h:46: virtual ~AttestationPolicyObserver(); no longer needs to be virtual? https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/login/existing_user_controller.cc ...
7 years, 3 months ago (2013-09-18 05:00:53 UTC) #4
Darren Krahn
https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc File chrome/browser/chromeos/attestation/attestation_policy_observer.cc (left): https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc#oldcode134 chrome/browser/chromeos/attestation/attestation_policy_observer.cc:134: DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); Was removing this DCHECK intentional? If so, we ...
7 years, 3 months ago (2013-09-18 09:05:37 UTC) #5
Mattias Nissler (ping if slow)
chrome/browser/chromeos/(attestation|policy|settings) LGTM with nits. Please consider the comments I put elsewhere though. https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc File chrome/browser/chromeos/app_mode/kiosk_app_manager.cc ...
7 years, 3 months ago (2013-09-18 09:09:48 UTC) #6
zel
+xiyuan
7 years, 3 months ago (2013-09-18 16:35:37 UTC) #7
Avi (use Gerrit)
https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc File chrome/browser/chromeos/app_mode/kiosk_app_manager.cc (right): https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc#newcode18 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc:18: #include "chrome/browser/chrome_notification_types.h" On 2013/09/18 09:09:48, Mattias Nissler wrote: > ...
7 years, 3 months ago (2013-09-18 16:41:44 UTC) #8
xiyuan
chrome/browser/chromeos/login/* chrome/browser/ui/webui/* LGTM
7 years, 3 months ago (2013-09-18 18:38:33 UTC) #9
Avi (use Gerrit)
https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/settings/cros_settings.cc File chrome/browser/chromeos/settings/cros_settings.cc (right): https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/settings/cros_settings.cc#newcode267 chrome/browser/chromeos/settings/cros_settings.cc:267: const char* path, const base::Closure& callback) { Actually, you're ...
7 years, 3 months ago (2013-09-18 18:50:37 UTC) #10
Lei Zhang
chrome/browser/chrome_notification_types.h lgtm https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/login/version_info_updater.cc File chrome/browser/chromeos/login/version_info_updater.cc (right): https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/login/version_info_updater.cc#newcode73 chrome/browser/chromeos/login/version_info_updater.cc:73: base::Bind(&VersionInfoUpdater::UpdateEnterpriseInfo, On 2013/09/18 16:41:44, Avi wrote: > ...
7 years, 3 months ago (2013-09-18 18:51:06 UTC) #11
Avi (use Gerrit)
https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/login/version_info_updater.cc File chrome/browser/chromeos/login/version_info_updater.cc (right): https://codereview.chromium.org/23494053/diff/31001/chrome/browser/chromeos/login/version_info_updater.cc#newcode73 chrome/browser/chromeos/login/version_info_updater.cc:73: base::Bind(&VersionInfoUpdater::UpdateEnterpriseInfo, If you look at ExistingUserControllerAutoLoginTest, it explicitly resets ...
7 years, 3 months ago (2013-09-18 19:39:07 UTC) #12
Avi (use Gerrit)
nkostylev: ping
7 years, 3 months ago (2013-09-19 00:28:20 UTC) #13
Nikita (slow)
lgtm, thanks! Please run cros* trybots as well
7 years, 3 months ago (2013-09-19 07:55:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/23494053/57001
7 years, 3 months ago (2013-09-19 18:40:43 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=26428
7 years, 3 months ago (2013-09-19 18:58:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/23494053/52001
7 years, 3 months ago (2013-09-19 19:16:14 UTC) #17
commit-bot: I haz the power
7 years, 3 months ago (2013-09-19 23:27:37 UTC) #18
Message was sent while issue was closed.
Change committed as 224229

Powered by Google App Engine
This is Rietveld 408576698