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

Issue 11362250: Remove PrefObserver usages, batch 6. (Closed)

Created:
8 years, 1 month ago by Jói
Modified:
8 years, 1 month ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, tfarina
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review comment. #

Total comments: 1

Patch Set 3 : Remove string-based dispatching altogether from PrefsTabHelper. #

Patch Set 4 : Add another DCHECK to cover all the same cases as before. #

Patch Set 5 : Fix Mac build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -82 lines) Patch
M chrome/browser/ui/browser.h View 1 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 3 chunks +17 lines, -19 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm View 1 2 3 4 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/prefs/prefs_tab_helper.h View 1 2 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/prefs/prefs_tab_helper.cc View 1 2 3 4 chunks +33 lines, -30 lines 0 comments Download
M chrome/browser/ui/webui/options/preferences_browsertest.h View 3 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/options/preferences_browsertest.cc View 3 chunks +13 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Jói
8 years, 1 month ago (2012-11-14 16:39:59 UTC) #1
Mattias Nissler (ping if slow)
https://codereview.chromium.org/11362250/diff/1/chrome/browser/ui/prefs/prefs_tab_helper.cc File chrome/browser/ui/prefs/prefs_tab_helper.cc (right): https://codereview.chromium.org/11362250/diff/1/chrome/browser/ui/prefs/prefs_tab_helper.cc#newcode598 chrome/browser/ui/prefs/prefs_tab_helper.cc:598: void PrefsTabHelper::OnPreferenceChanged(const std::string& pref_name_in) { should probably split into ...
8 years, 1 month ago (2012-11-15 10:01:31 UTC) #2
Jói
PTAL https://codereview.chromium.org/11362250/diff/1/chrome/browser/ui/prefs/prefs_tab_helper.cc File chrome/browser/ui/prefs/prefs_tab_helper.cc (right): https://codereview.chromium.org/11362250/diff/1/chrome/browser/ui/prefs/prefs_tab_helper.cc#newcode598 chrome/browser/ui/prefs/prefs_tab_helper.cc:598: void PrefsTabHelper::OnPreferenceChanged(const std::string& pref_name_in) { On 2012/11/15 10:01:31, ...
8 years, 1 month ago (2012-11-15 13:45:42 UTC) #3
Mattias Nissler (ping if slow)
https://codereview.chromium.org/11362250/diff/5001/chrome/browser/ui/prefs/prefs_tab_helper.cc File chrome/browser/ui/prefs/prefs_tab_helper.cc (right): https://codereview.chromium.org/11362250/diff/5001/chrome/browser/ui/prefs/prefs_tab_helper.cc#newcode604 chrome/browser/ui/prefs/prefs_tab_helper.cc:604: StartsWithASCII(pref_name_in, "webkit.webprefs.", true)) { I would even go as ...
8 years, 1 month ago (2012-11-15 14:56:22 UTC) #4
Jói
Excellent point, that will make the production code more efficient. Will switch to that and ...
8 years, 1 month ago (2012-11-15 16:27:28 UTC) #5
Jói
PTAL. Note that you yourself are an OWNER for chrome/browser/ui/prefs/prefs_tab_helper.h and .cc :) so I'm ...
8 years, 1 month ago (2012-11-15 16:39:30 UTC) #6
Mattias Nissler (ping if slow)
LGTM then ;)
8 years, 1 month ago (2012-11-15 16:43:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/11362250/11001
8 years, 1 month ago (2012-11-15 16:48:58 UTC) #8
commit-bot: I haz the power
Presubmit check for 11362250-11001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-15 16:49:07 UTC) #9
Jói
TBR=ben@chromium.org for chrome/browser/ui/OWNERS rubber stamp. This is for a Prefs API change, already reviewed by ...
8 years, 1 month ago (2012-11-15 16:50:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/11362250/11001
8 years, 1 month ago (2012-11-15 16:51:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/11362250/3002
8 years, 1 month ago (2012-11-15 16:53:18 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/11362250/3002
8 years, 1 month ago (2012-11-15 16:53:42 UTC) #13
Ben Goodger (Google)
lgtm
8 years, 1 month ago (2012-11-15 17:02:55 UTC) #14
commit-bot: I haz the power
8 years, 1 month ago (2012-11-15 18:47:33 UTC) #15
Change committed as 167973

Powered by Google App Engine
This is Rietveld 408576698