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

Unified Diff: chrome/browser/views/options/content_settings_window_view.cc

Issue 2815042: Add notifications content settings type. (Closed)
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/options/content_filter_page_view.cc ('k') | chrome/common/content_settings_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/content_settings_window_view.cc
diff --git a/chrome/browser/views/options/content_settings_window_view.cc b/chrome/browser/views/options/content_settings_window_view.cc
index cece814b9ce84afa26611ebec53627f0f27af032..ffcb0b9067cedb7208d08046973c63c292053510 100644
--- a/chrome/browser/views/options/content_settings_window_view.cc
+++ b/chrome/browser/views/options/content_settings_window_view.cc
@@ -179,7 +179,8 @@ void ContentSettingsWindowView::Init() {
for (size_t i = 0; i < pages_.size(); ++i) {
pages_[i]->set_parent_owned(false);
}
- DCHECK_EQ(static_cast<int>(pages_.size()), CONTENT_SETTINGS_NUM_TYPES);
+ // TODO(thakis): Remove |+ 1| once the notifications pane is done.
+ DCHECK_EQ(static_cast<int>(pages_.size()) + 1, CONTENT_SETTINGS_NUM_TYPES);
std::vector<string16> strings;
strings.push_back(l10n_util::GetStringUTF16(IDS_COOKIES_TAB_LABEL));
« no previous file with comments | « chrome/browser/views/options/content_filter_page_view.cc ('k') | chrome/common/content_settings_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698