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

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

Issue 2006523002: Add a flag for reporting permission actions to Safe Browsing servers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update email account Created 4 years, 7 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 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSiteEngagementService, 1263 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSiteEngagementService,
1264 switches::kDisableSiteEngagementService)}, 1264 switches::kDisableSiteEngagementService)},
1265 {"enable-session-crashed-bubble", IDS_FLAGS_SESSION_CRASHED_BUBBLE_NAME, 1265 {"enable-session-crashed-bubble", IDS_FLAGS_SESSION_CRASHED_BUBBLE_NAME,
1266 IDS_FLAGS_SESSION_CRASHED_BUBBLE_DESCRIPTION, kOsWin | kOsLinux, 1266 IDS_FLAGS_SESSION_CRASHED_BUBBLE_DESCRIPTION, kOsWin | kOsLinux,
1267 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSessionCrashedBubble, 1267 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSessionCrashedBubble,
1268 switches::kDisableSessionCrashedBubble)}, 1268 switches::kDisableSessionCrashedBubble)},
1269 {"disable-cast-streaming-hw-encoding", 1269 {"disable-cast-streaming-hw-encoding",
1270 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_NAME, 1270 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_NAME,
1271 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_DESCRIPTION, kOsAll, 1271 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_DESCRIPTION, kOsAll,
1272 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding)}, 1272 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding)},
1273 {"enable-permissions-reporting", IDS_FLAGS_PERMISSIONS_REPORTING_NAME,
1274 IDS_FLAGS_PERMISSIONS_REPORTING_DESCRIPTION, kOsAll,
1275 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsReporting,
1276 switches::kDisablePermissionsReporting)},
1273 #if defined(OS_ANDROID) 1277 #if defined(OS_ANDROID)
1274 {"prefetch-search-results", IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME, 1278 {"prefetch-search-results", IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME,
1275 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION, kOsAndroid, 1279 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION, kOsAndroid,
1276 SINGLE_VALUE_TYPE(switches::kPrefetchSearchResults)}, 1280 SINGLE_VALUE_TYPE(switches::kPrefetchSearchResults)},
1277 #endif 1281 #endif
1278 #if defined(ENABLE_APP_LIST) 1282 #if defined(ENABLE_APP_LIST)
1279 {"enable-experimental-app-list", IDS_FLAGS_EXPERIMENTAL_APP_LIST_NAME, 1283 {"enable-experimental-app-list", IDS_FLAGS_EXPERIMENTAL_APP_LIST_NAME,
1280 IDS_FLAGS_EXPERIMENTAL_APP_LIST_DESCRIPTION, kOsWin | kOsLinux | kOsCrOS, 1284 IDS_FLAGS_EXPERIMENTAL_APP_LIST_DESCRIPTION, kOsWin | kOsLinux | kOsCrOS,
1281 ENABLE_DISABLE_VALUE_TYPE( 1285 ENABLE_DISABLE_VALUE_TYPE(
1282 app_list::switches::kEnableExperimentalAppList, 1286 app_list::switches::kEnableExperimentalAppList,
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2077 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2074 2078
2075 const FeatureEntry* GetFeatureEntries(size_t* count) { 2079 const FeatureEntry* GetFeatureEntries(size_t* count) {
2076 *count = arraysize(kFeatureEntries); 2080 *count = arraysize(kFeatureEntries);
2077 return kFeatureEntries; 2081 return kFeatureEntries;
2078 } 2082 }
2079 2083
2080 } // namespace testing 2084 } // namespace testing
2081 2085
2082 } // namespace about_flags 2086 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698