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

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

Issue 10272019: Add an arbitrary delay before unloading lazy background pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 8 years, 7 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/common/chrome_switches.h ('k') | no next file » | 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) 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 9
10 namespace switches { 10 namespace switches {
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 // 1 - Allow multiple spellcheckers to work simultaneously. 638 // 1 - Allow multiple spellcheckers to work simultaneously.
639 // 2 - Allow automatic detection of spell check language. 639 // 2 - Allow automatic detection of spell check language.
640 // TODO(sidchat): Implement the above features to work under this flag. 640 // TODO(sidchat): Implement the above features to work under this flag.
641 const char kExperimentalSpellcheckerFeatures[] = 641 const char kExperimentalSpellcheckerFeatures[] =
642 "experimental-spellchecker-features"; 642 "experimental-spellchecker-features";
643 643
644 // Explicitly allows additional ports using a comma-separated list of port 644 // Explicitly allows additional ports using a comma-separated list of port
645 // numbers. 645 // numbers.
646 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; 646 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
647 647
648 // The time in seconds that an extension event page can be idle before it
649 // is shut down.
650 const char kEventPageIdleTime[] = "event-page-idle-time";
651
652 // The time in seconds that an extension event page has between being notified
653 // of its impending unload and that unload happening.
654 const char kEventPageUnloadingTime[] = "event-page-unloading-time";
655
648 // Marks a renderer as extension process. 656 // Marks a renderer as extension process.
649 const char kExtensionProcess[] = "extension-process"; 657 const char kExtensionProcess[] = "extension-process";
650 658
651 // Frequency in seconds for Extensions auto-update. 659 // Frequency in seconds for Extensions auto-update.
652 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; 660 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency";
653 661
654 // Should we use an external Autofill popup? Default is no. 662 // Should we use an external Autofill popup? Default is no.
655 const char kExternalAutofillPopup[] = "external-autofill-popup"; 663 const char kExternalAutofillPopup[] = "external-autofill-popup";
656 664
657 // These two flags are added around the switches about:flags adds to the 665 // These two flags are added around the switches about:flags adds to the
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 1423
1416 // ----------------------------------------------------------------------------- 1424 // -----------------------------------------------------------------------------
1417 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1425 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1418 // 1426 //
1419 // You were going to just dump your switches here, weren't you? Instead, please 1427 // You were going to just dump your switches here, weren't you? Instead, please
1420 // put them in alphabetical order above, or in order inside the appropriate 1428 // put them in alphabetical order above, or in order inside the appropriate
1421 // ifdef at the bottom. The order should match the header. 1429 // ifdef at the bottom. The order should match the header.
1422 // ----------------------------------------------------------------------------- 1430 // -----------------------------------------------------------------------------
1423 1431
1424 } // namespace switches 1432 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698