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

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

Issue 7399030: Remove --enable-p2papi flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/test/ui/ppapi_uitest.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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 SINGLE_VALUE_TYPE(switches::kBlockReadingThirdPartyCookies) 238 SINGLE_VALUE_TYPE(switches::kBlockReadingThirdPartyCookies)
239 }, 239 },
240 { 240 {
241 "disable-interactive-form-validation", 241 "disable-interactive-form-validation",
242 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME, 242 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME,
243 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION, 243 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION,
244 kOsAll, 244 kOsAll,
245 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) 245 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation)
246 }, 246 },
247 { 247 {
248 "p2papi",
249 IDS_FLAGS_P2P_API_NAME,
250 IDS_FLAGS_P2P_API_DESCRIPTION,
251 kOsAll,
252 #if defined(ENABLE_P2P_APIS)
253 SINGLE_VALUE_TYPE(switches::kEnableP2PApi)
254 #else
255 SINGLE_VALUE_TYPE("")
256 #endif
257 },
258 {
259 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA 248 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA
260 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, 249 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME,
261 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, 250 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION,
262 kOsAll, 251 kOsAll,
263 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) 252 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen)
264 }, 253 },
265 { 254 {
266 "compact-navigation", 255 "compact-navigation",
267 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION, 256 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION,
268 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION_DESCRIPTION, 257 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION_DESCRIPTION,
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 } 799 }
811 800
812 const Experiment* GetExperiments(size_t* count) { 801 const Experiment* GetExperiments(size_t* count) {
813 *count = num_experiments; 802 *count = num_experiments;
814 return experiments; 803 return experiments;
815 } 804 }
816 805
817 } // namespace testing 806 } // namespace testing
818 807
819 } // namespace about_flags 808 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/test/ui/ppapi_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698