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

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

Issue 617073002: Plugin Power Saver: Add flag to experiment behind. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) 909 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption)
910 }, 910 },
911 #if defined(ENABLE_PLUGINS) 911 #if defined(ENABLE_PLUGINS)
912 { 912 {
913 "allow-nacl-socket-api", 913 "allow-nacl-socket-api",
914 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, 914 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME,
915 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, 915 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION,
916 kOsDesktop, 916 kOsDesktop,
917 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") 917 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*")
918 }, 918 },
919 {
920 "enable-plugin-power-saver",
921 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_NAME,
922 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_DESCRIPTION,
923 kOsDesktop,
924 SINGLE_VALUE_TYPE(switches::kEnablePluginPowerSaver)
925 },
919 #endif 926 #endif
920 #if defined(OS_CHROMEOS) 927 #if defined(OS_CHROMEOS)
921 { 928 {
922 "allow-touchpad-three-finger-click", 929 "allow-touchpad-three-finger-click",
923 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, 930 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME,
924 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_DESCRIPTION, 931 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_DESCRIPTION,
925 kOsCrOS, 932 kOsCrOS,
926 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchpadThreeFingerClick) 933 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchpadThreeFingerClick)
927 }, 934 },
928 { 935 {
(...skipping 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after
2524 } 2531 }
2525 2532
2526 const Experiment* GetExperiments(size_t* count) { 2533 const Experiment* GetExperiments(size_t* count) {
2527 *count = num_experiments; 2534 *count = num_experiments;
2528 return experiments; 2535 return experiments;
2529 } 2536 }
2530 2537
2531 } // namespace testing 2538 } // namespace testing
2532 2539
2533 } // namespace about_flags 2540 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698