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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2805683003: Allow for pausing background tabs on desktop via about:flags. (Closed)
Patch Set: Created 3 years, 8 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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 // be disabled. Names should be separated by "|" characters. 647 // be disabled. Names should be separated by "|" characters.
648 const char kOriginTrialDisabledFeatures[] = "origin-trial-disabled-features"; 648 const char kOriginTrialDisabledFeatures[] = "origin-trial-disabled-features";
649 649
650 // Contains a list of token signatures for which origin trial experiments should 650 // Contains a list of token signatures for which origin trial experiments should
651 // be disabled. Tokens should be separated by "|" characters. 651 // be disabled. Tokens should be separated by "|" characters.
652 const char kOriginTrialDisabledTokens[] = "origin-trial-disabled-tokens"; 652 const char kOriginTrialDisabledTokens[] = "origin-trial-disabled-tokens";
653 653
654 // Overrides the default public key for checking origin trial tokens. 654 // Overrides the default public key for checking origin trial tokens.
655 const char kOriginTrialPublicKey[] = "origin-trial-public-key"; 655 const char kOriginTrialPublicKey[] = "origin-trial-public-key";
656 656
657 const char kPauseBackgroundTabs[] = "pause-background-tabs";
Sami 2017/04/07 17:11:12 Please add a comment here for the automatically ge
ojan 2017/04/08 02:28:53 Not needed anymore now that I'm using base::Featur
658
657 // Packages an extension to a .crx installable file from a given directory. 659 // Packages an extension to a .crx installable file from a given directory.
658 const char kPackExtension[] = "pack-extension"; 660 const char kPackExtension[] = "pack-extension";
659 661
660 // Optional PEM private key to use in signing packaged .crx. 662 // Optional PEM private key to use in signing packaged .crx.
661 const char kPackExtensionKey[] = "pack-extension-key"; 663 const char kPackExtensionKey[] = "pack-extension-key";
662 664
663 // Specifies the path to the user data folder for the parent profile. 665 // Specifies the path to the user data folder for the parent profile.
664 const char kParentProfile[] = "parent-profile"; 666 const char kParentProfile[] = "parent-profile";
665 667
666 // Development flag for permission request API. This flag is needed until 668 // Development flag for permission request API. This flag is needed until
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 1185
1184 // ----------------------------------------------------------------------------- 1186 // -----------------------------------------------------------------------------
1185 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1187 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1186 // 1188 //
1187 // You were going to just dump your switches here, weren't you? Instead, please 1189 // You were going to just dump your switches here, weren't you? Instead, please
1188 // put them in alphabetical order above, or in order inside the appropriate 1190 // put them in alphabetical order above, or in order inside the appropriate
1189 // ifdef at the bottom. The order should match the header. 1191 // ifdef at the bottom. The order should match the header.
1190 // ----------------------------------------------------------------------------- 1192 // -----------------------------------------------------------------------------
1191 1193
1192 } // namespace switches 1194 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698