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

Issue 18100007: Implemented types.private.ChromeDirectSetting.onChange (Closed)

Created:
7 years, 5 months ago by robliao
Modified:
7 years, 5 months ago
CC:
Bernhard Bauer, vadimt, chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@DirectSetting
Visibility:
Public.

Description

Implemented types.private.ChromeDirectSetting.onChange This delta links up the onChange event machinery to the property change notification machinery. It follows a pattern established in PreferencesAPI and the PreferenceEventRouter. * Given a list of preferences, register event listener added observers to each preference. * On the first added event listener, unregister all observers and register all property change listeners. * On property changes, forward an event to each component extension that has a property listener added. BUG=164227 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212307

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -36 lines) Patch
M chrome/browser/extensions/api/preference/chrome_direct_setting.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/preference/chrome_direct_setting.cc View 5 chunks +8 lines, -33 lines 0 comments Download
A chrome/browser/extensions/api/preference/chrome_direct_setting_api.h View 1 chunk +60 lines, -0 lines 3 comments Download
A chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc View 1 chunk +154 lines, -0 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
robliao
https://codereview.chromium.org/18100007/diff/1/chrome/browser/extensions/api/preference/chrome_direct_setting_api.h File chrome/browser/extensions/api/preference/chrome_direct_setting_api.h (right): https://codereview.chromium.org/18100007/diff/1/chrome/browser/extensions/api/preference/chrome_direct_setting_api.h#newcode59 chrome/browser/extensions/api/preference/chrome_direct_setting_api.h:59: #endif // CHROME_BROWSER_EXTENSIONS_API_PREFERENCE_CHROME_DIRECT_SETTING_API_H__ This line will fail presubmit (81 ...
7 years, 5 months ago (2013-07-13 00:33:35 UTC) #1
vadimt
Please proceed with file owners; thanks! https://codereview.chromium.org/18100007/diff/1/chrome/browser/extensions/api/preference/chrome_direct_setting_api.h File chrome/browser/extensions/api/preference/chrome_direct_setting_api.h (right): https://codereview.chromium.org/18100007/diff/1/chrome/browser/extensions/api/preference/chrome_direct_setting_api.h#newcode59 chrome/browser/extensions/api/preference/chrome_direct_setting_api.h:59: #endif // CHROME_BROWSER_EXTENSIONS_API_PREFERENCE_CHROME_DIRECT_SETTING_API_H__ ...
7 years, 5 months ago (2013-07-13 00:40:09 UTC) #2
robliao
https://codereview.chromium.org/18100007/diff/1/chrome/browser/extensions/api/preference/chrome_direct_setting_api.h File chrome/browser/extensions/api/preference/chrome_direct_setting_api.h (right): https://codereview.chromium.org/18100007/diff/1/chrome/browser/extensions/api/preference/chrome_direct_setting_api.h#newcode59 chrome/browser/extensions/api/preference/chrome_direct_setting_api.h:59: #endif // CHROME_BROWSER_EXTENSIONS_API_PREFERENCE_CHROME_DIRECT_SETTING_API_H__ Existing files appear to be directly ...
7 years, 5 months ago (2013-07-15 17:14:40 UTC) #3
robliao
Please provide owner approval for the files listed under your name. Thanks! miket: chrome/browser/extensions/api/preference/chrome_direct_setting.h chrome/browser/extensions/api/preference/chrome_direct_setting.cc ...
7 years, 5 months ago (2013-07-15 17:15:41 UTC) #4
robliao
7 years, 5 months ago (2013-07-15 17:16:17 UTC) #5
Elliot Glaysher
profiles lgtm stamp
7 years, 5 months ago (2013-07-15 17:31:32 UTC) #6
sky
.gypi LGTM
7 years, 5 months ago (2013-07-15 19:58:26 UTC) #7
miket_OOO
> chrome/browser/extensions/api/preference/chrome_direct_setting.h > chrome/browser/extensions/api/preference/chrome_direct_setting.cc > chrome/browser/extensions/api/preference/chrome_direct_setting_api.h > chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc OWNER LGTM
7 years, 5 months ago (2013-07-15 23:35:26 UTC) #8
robliao
All owners approve, proceeding with commit process.
7 years, 5 months ago (2013-07-16 17:44:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/18100007/1
7 years, 5 months ago (2013-07-16 17:49:40 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=60439
7 years, 5 months ago (2013-07-16 19:43:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/18100007/1
7 years, 5 months ago (2013-07-16 20:36:56 UTC) #12
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=59987
7 years, 5 months ago (2013-07-17 01:10:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/18100007/1
7 years, 5 months ago (2013-07-17 17:23:25 UTC) #14
commit-bot: I haz the power
7 years, 5 months ago (2013-07-18 09:40:49 UTC) #15
Message was sent while issue was closed.
Change committed as 212307

Powered by Google App Engine
This is Rietveld 408576698