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

Issue 11293249: Remove PrefObserver usage, batch 3. (Closed)

Created:
8 years, 1 month ago by Jói
Modified:
8 years, 1 month ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, oshima+watch_chromium.org, markusheintz_, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Remove PrefObserver usage, batch 3. This also introduces an accessor for the PrefServiceBase* kept by PrefChangeRegistrar. TBR=bauerb@chromium.org,achuith@chromium.org BUG=155525 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167680

Patch Set 1 #

Total comments: 4

Patch Set 2 : Respond to review comments, fix ChromeOS build bug. #

Patch Set 3 : Make a couple of accessors public. #

Total comments: 2

Patch Set 4 : Make pref_name() protected again. #

Patch Set 5 : Merge to parent #

Patch Set 6 : Merge to LKGR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -159 lines) Patch
M base/prefs/public/pref_change_registrar.h View 1 chunk +3 lines, -0 lines 0 comments Download
M base/prefs/public/pref_change_registrar.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/api/prefs/pref_member.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/preferences.h View 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 2 chunks +43 lines, -38 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 2 3 4 5 6 chunks +32 lines, -28 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.h View 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.cc View 3 chunks +32 lines, -25 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider.h View 4 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider.cc View 3 chunks +18 lines, -18 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider_unittest.cc View 4 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/content_settings/cookie_settings.h View 4 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/content_settings/cookie_settings.cc View 1 2 3 4 5 3 chunks +12 lines, -11 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Jói
8 years, 1 month ago (2012-11-13 13:50:44 UTC) #1
Mattias Nissler (ping if slow)
LGTM with nits. http://codereview.chromium.org/11293249/diff/1/base/prefs/public/pref_change_registrar.cc File base/prefs/public/pref_change_registrar.cc (right): http://codereview.chromium.org/11293249/diff/1/base/prefs/public/pref_change_registrar.cc#newcode98 base/prefs/public/pref_change_registrar.cc:98: no trailing newlines please. http://codereview.chromium.org/11293249/diff/1/chrome/browser/chromeos/system/ash_system_tray_delegate.cc File ...
8 years, 1 month ago (2012-11-13 14:11:31 UTC) #2
Jói
Nits addressed, also fixed a ChromeOS build problem. Cheers, Jói http://codereview.chromium.org/11293249/diff/1/base/prefs/public/pref_change_registrar.cc File base/prefs/public/pref_change_registrar.cc (right): http://codereview.chromium.org/11293249/diff/1/base/prefs/public/pref_change_registrar.cc#newcode98 ...
8 years, 1 month ago (2012-11-13 14:22:38 UTC) #3
Mattias Nissler (ping if slow)
LGTM
8 years, 1 month ago (2012-11-13 14:59:48 UTC) #4
Mattias Nissler (ping if slow)
LGTM
8 years, 1 month ago (2012-11-13 14:59:48 UTC) #5
Jói
PTAL, I needed to make the prefs() accessor on PrefMemberBase public, and I think probably ...
8 years, 1 month ago (2012-11-13 15:12:13 UTC) #6
Mattias Nissler (ping if slow)
http://codereview.chromium.org/11293249/diff/4003/chrome/browser/api/prefs/pref_member.h File chrome/browser/api/prefs/pref_member.h (right): http://codereview.chromium.org/11293249/diff/4003/chrome/browser/api/prefs/pref_member.h#newcode50 chrome/browser/api/prefs/pref_member.h:50: const std::string& pref_name() const { return pref_name_; } Note ...
8 years, 1 month ago (2012-11-13 15:47:02 UTC) #7
Jói
http://codereview.chromium.org/11293249/diff/4003/chrome/browser/api/prefs/pref_member.h File chrome/browser/api/prefs/pref_member.h (right): http://codereview.chromium.org/11293249/diff/4003/chrome/browser/api/prefs/pref_member.h#newcode50 chrome/browser/api/prefs/pref_member.h:50: const std::string& pref_name() const { return pref_name_; } On ...
8 years, 1 month ago (2012-11-13 16:28:23 UTC) #8
Mattias Nissler (ping if slow)
LGTM
8 years, 1 month ago (2012-11-13 16:29:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/11293249/9010
8 years, 1 month ago (2012-11-14 12:37:08 UTC) #10
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/system/ash_system_tray_delegate.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-11-14 12:37:14 UTC) #11
Jói
TBR=bauerb@chromium.org,achuith@chromium.org for OWNERS rubber stamp for these directories: chrome/browser/content_settings chrome/browser/chromeos These are updates to match ...
8 years, 1 month ago (2012-11-14 13:53:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/11293249/12004
8 years, 1 month ago (2012-11-14 13:53:32 UTC) #13
commit-bot: I haz the power
8 years, 1 month ago (2012-11-14 15:34:47 UTC) #14
Change committed as 167680

Powered by Google App Engine
This is Rietveld 408576698