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

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: Fix stuff 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
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 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 }, 1771 },
1772 { 1772 {
1773 "enable-permissions-bubbles", 1773 "enable-permissions-bubbles",
1774 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME, 1774 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME,
1775 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION, 1775 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION,
1776 kOsCrOS | kOsMac | kOsWin | kOsLinux, 1776 kOsCrOS | kOsMac | kOsWin | kOsLinux,
1777 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles, 1777 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles,
1778 switches::kDisablePermissionsBubbles) 1778 switches::kDisablePermissionsBubbles)
1779 }, 1779 },
1780 { 1780 {
1781 "enable-site-engagement-service",
1782 IDS_FLAGS_ENABLE_SITE_ENGAGEMENT_SERVICE_NAME,
1783 IDS_FLAGS_ENABLE_SITE_ENGAGEMENT_SERVICE_DESCRIPTION,
1784 kOsAll,
1785 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSiteEngagementService,
1786 switches::kDisableSiteEngagementService)
1787 },
1788 {
1781 "enable-session-crashed-bubble", 1789 "enable-session-crashed-bubble",
1782 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME, 1790 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME,
1783 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_DESCRIPTION, 1791 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_DESCRIPTION,
1784 kOsWin | kOsLinux, 1792 kOsWin | kOsLinux,
1785 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSessionCrashedBubble, 1793 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSessionCrashedBubble,
1786 switches::kDisableSessionCrashedBubble) 1794 switches::kDisableSessionCrashedBubble)
1787 }, 1795 },
1788 { 1796 {
1789 "enable-out-of-process-pdf", 1797 "enable-out-of-process-pdf",
1790 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME, 1798 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME,
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after
2933 } 2941 }
2934 2942
2935 const Experiment* GetExperiments(size_t* count) { 2943 const Experiment* GetExperiments(size_t* count) {
2936 *count = num_experiments; 2944 *count = num_experiments;
2937 return experiments; 2945 return experiments;
2938 } 2946 }
2939 2947
2940 } // namespace testing 2948 } // namespace testing
2941 2949
2942 } // namespace about_flags 2950 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698