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

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

Issue 11052019: <browser> Make new implementation the default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browsertests for browser plugin. Created 8 years, 2 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
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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 #endif 900 #endif
901 #if defined(OS_CHROMEOS) 901 #if defined(OS_CHROMEOS)
902 { 902 {
903 "enable-request-tablet-site", 903 "enable-request-tablet-site",
904 IDS_FLAGS_ENABLE_REQUEST_TABLET_SITE_NAME, 904 IDS_FLAGS_ENABLE_REQUEST_TABLET_SITE_NAME,
905 IDS_FLAGS_ENABLE_REQUEST_TABLET_SITE_DESCRIPTION, 905 IDS_FLAGS_ENABLE_REQUEST_TABLET_SITE_DESCRIPTION,
906 kOsCrOS, 906 kOsCrOS,
907 SINGLE_VALUE_TYPE(switches::kEnableRequestTabletSite) 907 SINGLE_VALUE_TYPE(switches::kEnableRequestTabletSite)
908 }, 908 },
909 #endif 909 #endif
910 {
911 "enable-browser-plugin-old-implementation",
Mihai Parparita -not on Chrome 2012/10/03 22:44:00 This seems pretty obscure, so showing it in chrome
lazyboy 2012/10/03 23:26:57 Removed from chrome://flags. We don't expect this
912 IDS_FLAGS_BROWSER_PLUGIN_USE_OLD_IMPLEMENTATION_NAME,
913 IDS_FLAGS_BROWSER_PLUGIN_USE_OLD_IMPLEMENTATION_DESCRIPTION,
914 kOsAll,
915 SINGLE_VALUE_TYPE(switches::kEnableBrowserPluginOldImplementation)
916 },
910 }; 917 };
911 918
912 const Experiment* experiments = kExperiments; 919 const Experiment* experiments = kExperiments;
913 size_t num_experiments = arraysize(kExperiments); 920 size_t num_experiments = arraysize(kExperiments);
914 921
915 // Stores and encapsulates the little state that about:flags has. 922 // Stores and encapsulates the little state that about:flags has.
916 class FlagsState { 923 class FlagsState {
917 public: 924 public:
918 FlagsState() : needs_restart_(false) {} 925 FlagsState() : needs_restart_(false) {}
919 void ConvertFlagsToSwitches(PrefService* prefs, CommandLine* command_line); 926 void ConvertFlagsToSwitches(PrefService* prefs, CommandLine* command_line);
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
1336 } 1343 }
1337 1344
1338 const Experiment* GetExperiments(size_t* count) { 1345 const Experiment* GetExperiments(size_t* count) {
1339 *count = num_experiments; 1346 *count = num_experiments;
1340 return experiments; 1347 return experiments;
1341 } 1348 }
1342 1349
1343 } // namespace testing 1350 } // namespace testing
1344 1351
1345 } // namespace about_flags 1352 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698