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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 1077063002: Implement a basic Site Engagement Score service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 8 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/browser/BUILD.gn ('k') | chrome/browser/engagement/OWNERS » ('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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after
1765 }, 1765 },
1766 { 1766 {
1767 "enable-permissions-bubbles", 1767 "enable-permissions-bubbles",
1768 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME, 1768 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME,
1769 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION, 1769 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION,
1770 kOsCrOS | kOsMac | kOsWin | kOsLinux, 1770 kOsCrOS | kOsMac | kOsWin | kOsLinux,
1771 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles, 1771 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles,
1772 switches::kDisablePermissionsBubbles) 1772 switches::kDisablePermissionsBubbles)
1773 }, 1773 },
1774 { 1774 {
1775 "enable-site-engagement-service",
1776 IDS_FLAGS_ENABLE_SITE_ENGAGEMENT_SERVICE_NAME,
1777 IDS_FLAGS_ENABLE_SITE_ENGAGEMENT_SERVICE_DESCRIPTION,
1778 kOsAll,
1779 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSiteEngagementService,
1780 switches::kDisableSiteEngagementService)
1781 },
1782 {
1775 "enable-session-crashed-bubble", 1783 "enable-session-crashed-bubble",
1776 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME, 1784 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME,
1777 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_DESCRIPTION, 1785 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_DESCRIPTION,
1778 kOsWin | kOsLinux, 1786 kOsWin | kOsLinux,
1779 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSessionCrashedBubble, 1787 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSessionCrashedBubble,
1780 switches::kDisableSessionCrashedBubble) 1788 switches::kDisableSessionCrashedBubble)
1781 }, 1789 },
1782 { 1790 {
1783 "enable-out-of-process-pdf", 1791 "enable-out-of-process-pdf",
1784 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME, 1792 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME,
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2920 } 2928 }
2921 2929
2922 const Experiment* GetExperiments(size_t* count) { 2930 const Experiment* GetExperiments(size_t* count) {
2923 *count = num_experiments; 2931 *count = num_experiments;
2924 return experiments; 2932 return experiments;
2925 } 2933 }
2926 2934
2927 } // namespace testing 2935 } // namespace testing
2928 2936
2929 } // namespace about_flags 2937 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/engagement/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698