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

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

Issue 8479027: Make third-party cookie blocking strict by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_browser_main.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 SINGLE_VALUE_TYPE(switches::kNoPings) 223 SINGLE_VALUE_TYPE(switches::kNoPings)
224 }, 224 },
225 { 225 {
226 "experimental-location-features", // FLAGS:RECORD_UMA 226 "experimental-location-features", // FLAGS:RECORD_UMA
227 IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_NAME, 227 IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_NAME,
228 IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_DESCRIPTION, 228 IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_DESCRIPTION,
229 kOsMac | kOsWin | kOsLinux, // Currently does nothing on CrOS. 229 kOsMac | kOsWin | kOsLinux, // Currently does nothing on CrOS.
230 SINGLE_VALUE_TYPE(switches::kExperimentalLocationFeatures) 230 SINGLE_VALUE_TYPE(switches::kExperimentalLocationFeatures)
231 }, 231 },
232 { 232 {
233 "block-reading-third-party-cookies",
234 IDS_FLAGS_BLOCK_ALL_THIRD_PARTY_COOKIES_NAME,
235 IDS_FLAGS_BLOCK_ALL_THIRD_PARTY_COOKIES_DESCRIPTION,
236 kOsAll,
237 SINGLE_VALUE_TYPE(switches::kBlockReadingThirdPartyCookies)
238 },
239 {
240 "disable-interactive-form-validation", 233 "disable-interactive-form-validation",
241 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME, 234 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME,
242 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION, 235 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION,
243 kOsAll, 236 kOsAll,
244 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) 237 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation)
245 }, 238 },
246 { 239 {
247 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA 240 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA
248 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, 241 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME,
249 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, 242 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION,
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 } 871 }
879 872
880 const Experiment* GetExperiments(size_t* count) { 873 const Experiment* GetExperiments(size_t* count) {
881 *count = num_experiments; 874 *count = num_experiments;
882 return experiments; 875 return experiments;
883 } 876 }
884 877
885 } // namespace testing 878 } // namespace testing
886 879
887 } // namespace about_flags 880 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698