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

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

Issue 10060003: Support for different weight-functions for time-slicing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added missing #include 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
« 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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 // Replaces the buffered data source for <audio> and <video> with a simplified 1142 // Replaces the buffered data source for <audio> and <video> with a simplified
1143 // resource loader that downloads the entire resource into memory. 1143 // resource loader that downloads the entire resource into memory.
1144 1144
1145 // Socket reuse policy. The value should be of type enum 1145 // Socket reuse policy. The value should be of type enum
1146 // ClientSocketReusePolicy. 1146 // ClientSocketReusePolicy.
1147 const char kSocketReusePolicy[] = "socket-reuse-policy"; 1147 const char kSocketReusePolicy[] = "socket-reuse-policy";
1148 1148
1149 // Starts the browser maximized, regardless of any previous settings. 1149 // Starts the browser maximized, regardless of any previous settings.
1150 const char kStartMaximized[] = "start-maximized"; 1150 const char kStartMaximized[] = "start-maximized";
1151 1151
1152 // Controls the width of time-of-day filters on the 'suggested' ntp page, in
1153 // minutes.
1154 const char kSuggestionNtpFilterWidth[] = "suggestion-ntp-filter-width";
1155
1156 // Enables a normal distribution dropoff to the relevancy of visits with respect
1157 // to the time of day.
1158 const char kSuggestionNtpGaussianFilter[] = "suggestion-ntp-gaussian-filter";
1159
1160 // Enables a linear dropoff to the relevancy of visits with respect to the time
1161 // of day.
1162 const char kSuggestionNtpLinearFilter[] = "suggestion-ntp-linear-filter";
1163
1152 // Allows insecure XMPP connections for sync (for testing). 1164 // Allows insecure XMPP connections for sync (for testing).
1153 const char kSyncAllowInsecureXmppConnection[] = 1165 const char kSyncAllowInsecureXmppConnection[] =
1154 "sync-allow-insecure-xmpp-connection"; 1166 "sync-allow-insecure-xmpp-connection";
1155 1167
1156 // Invalidates any login info passed into sync's XMPP connection. 1168 // Invalidates any login info passed into sync's XMPP connection.
1157 const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login"; 1169 const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login";
1158 1170
1159 // Overrides the default notification method for sync. 1171 // Overrides the default notification method for sync.
1160 const char kSyncNotificationMethod[] = "sync-notification-method"; 1172 const char kSyncNotificationMethod[] = "sync-notification-method";
1161 1173
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 1445
1434 // ----------------------------------------------------------------------------- 1446 // -----------------------------------------------------------------------------
1435 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1447 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1436 // 1448 //
1437 // You were going to just dump your switches here, weren't you? Instead, please 1449 // You were going to just dump your switches here, weren't you? Instead, please
1438 // put them in alphabetical order above, or in order inside the appropriate 1450 // put them in alphabetical order above, or in order inside the appropriate
1439 // ifdef at the bottom. The order should match the header. 1451 // ifdef at the bottom. The order should match the header.
1440 // ----------------------------------------------------------------------------- 1452 // -----------------------------------------------------------------------------
1441 1453
1442 } // namespace switches 1454 } // 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