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

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

Issue 11975053: History: Add option to group visits by domain (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace images with characters and minor fix. Created 7 years, 11 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/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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 // other. 711 // other.
712 const char kHelp[] = "help"; 712 const char kHelp[] = "help";
713 const char kHelpShort[] = "h"; 713 const char kHelpShort[] = "h";
714 714
715 // Makes Windows happy by allowing it to show "Enable access to this program" 715 // Makes Windows happy by allowing it to show "Enable access to this program"
716 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only 716 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only
717 // shows an error box because the only way to hide Chrome is by uninstalling 717 // shows an error box because the only way to hide Chrome is by uninstalling
718 // it. 718 // it.
719 const char kHideIcons[] = "hide-icons"; 719 const char kHideIcons[] = "hide-icons";
720 720
721 // Disables full history sync.
722 const char kHistoryDisableFullHistorySync[] = "disable-full-history-sync";
723
721 // Enables full history sync (not just typed URLs) for signed-in users. 724 // Enables full history sync (not just typed URLs) for signed-in users.
722 const char kHistoryEnableFullHistorySync[] = "enable-full-history-sync"; 725 const char kHistoryEnableFullHistorySync[] = "enable-full-history-sync";
723 726
724 // Disables full history sync. 727 // Enables grouping websites by domain and filtering them by period.
725 const char kHistoryDisableFullHistorySync[] = "disable-full-history-sync"; 728 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history";
726 729
727 // Specifies which page will be displayed in newly-opened tabs. We need this 730 // Specifies which page will be displayed in newly-opened tabs. We need this
728 // for testing purposes so that the UI tests don't depend on what comes up for 731 // for testing purposes so that the UI tests don't depend on what comes up for
729 // http://google.com. 732 // http://google.com.
730 const char kHomePage[] = "homepage"; 733 const char kHomePage[] = "homepage";
731 734
732 // Comma-separated list of rules that control how hostnames are mapped. 735 // Comma-separated list of rules that control how hostnames are mapped.
733 // 736 //
734 // For example: 737 // For example:
735 // "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1 738 // "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 1624
1622 // ----------------------------------------------------------------------------- 1625 // -----------------------------------------------------------------------------
1623 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1626 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1624 // 1627 //
1625 // You were going to just dump your switches here, weren't you? Instead, please 1628 // You were going to just dump your switches here, weren't you? Instead, please
1626 // put them in alphabetical order above, or in order inside the appropriate 1629 // put them in alphabetical order above, or in order inside the appropriate
1627 // ifdef at the bottom. The order should match the header. 1630 // ifdef at the bottom. The order should match the header.
1628 // ----------------------------------------------------------------------------- 1631 // -----------------------------------------------------------------------------
1629 1632
1630 } // namespace switches 1633 } // namespace switches
OLDNEW
« chrome/browser/resources/history/history.js ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698