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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2626643002: Stop showing notifications if they're ignored (Closed)
Patch Set: String.equals() Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 // Keeps track of recently closed tabs collapsed state in the Other Devices 1536 // Keeps track of recently closed tabs collapsed state in the Other Devices
1537 // menu. 1537 // menu.
1538 const char kNtpCollapsedRecentlyClosedTabs[] = 1538 const char kNtpCollapsedRecentlyClosedTabs[] =
1539 "ntp.collapsed_recently_closed_tabs"; 1539 "ntp.collapsed_recently_closed_tabs";
1540 1540
1541 // Keeps track of snapshot documents collapsed state in the Other Devices menu. 1541 // Keeps track of snapshot documents collapsed state in the Other Devices menu.
1542 const char kNtpCollapsedSnapshotDocument[] = "ntp.collapsed_snapshot_document"; 1542 const char kNtpCollapsedSnapshotDocument[] = "ntp.collapsed_snapshot_document";
1543 1543
1544 // Keeps track of sync promo collapsed state in the Other Devices menu. 1544 // Keeps track of sync promo collapsed state in the Other Devices menu.
1545 const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo"; 1545 const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo";
1546
1547 // Tracks how many notifications the user has ignored, so we can tell when we
1548 // should stop showing them.
1549 const char kContentSuggestionsConsecutiveIgnoredPrefName[] =
1550 "ntp.content_suggestions.notifications.consecutive_ignored";
1546 #endif // defined(OS_ANDROID) 1551 #endif // defined(OS_ANDROID)
1547 1552
1548 // Which page should be visible on the new tab page v4 1553 // Which page should be visible on the new tab page v4
1549 const char kNtpShownPage[] = "ntp.shown_page"; 1554 const char kNtpShownPage[] = "ntp.shown_page";
1550 1555
1551 // A private RSA key for ADB handshake. 1556 // A private RSA key for ADB handshake.
1552 const char kDevToolsAdbKey[] = "devtools.adb_key"; 1557 const char kDevToolsAdbKey[] = "devtools.adb_key";
1553 1558
1554 const char kDevToolsDisabled[] = "devtools.disabled"; 1559 const char kDevToolsDisabled[] = "devtools.disabled";
1555 1560
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
2351 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2356 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2352 "search_geolocation_pre_disclosure_metrics_recorded"; 2357 "search_geolocation_pre_disclosure_metrics_recorded";
2353 2358
2354 // Whether the metrics for the state of geolocation post-disclosure being shown 2359 // Whether the metrics for the state of geolocation post-disclosure being shown
2355 // have been recorded. 2360 // have been recorded.
2356 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2361 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2357 "search_geolocation_post_disclosure_metrics_recorded"; 2362 "search_geolocation_post_disclosure_metrics_recorded";
2358 #endif 2363 #endif
2359 2364
2360 } // namespace prefs 2365 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698