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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 935933002: Adds metronome time sync dbus client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds a command line flag to use a timer-based fake implementation Created 5 years, 9 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 | « chromeos/chromeos_switches.h ('k') | chromeos/dbus/dbus_client_bundle.h » ('j') | 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 "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 // TODO(rsorokin): alphabetize all of these switches so they 10 // TODO(rsorokin): alphabetize all of these switches so they
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 289
290 // Enables animated transitions during first-run tutorial. 290 // Enables animated transitions during first-run tutorial.
291 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; 291 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions";
292 292
293 // Forces first-run UI to be shown for every login. 293 // Forces first-run UI to be shown for every login.
294 const char kForceFirstRunUI[] = "force-first-run-ui"; 294 const char kForceFirstRunUI[] = "force-first-run-ui";
295 295
296 // Enables testing for auto update UI. 296 // Enables testing for auto update UI.
297 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; 297 const char kTestAutoUpdateUI[] = "test-auto-update-ui";
298 298
299 // Enables testing Metronome client with a periodic timer.
300 const char kTestMetronomeTimer[] = "test-metronome-timer";
301
299 // Disable memory pressure checks on ChromeOS. 302 // Disable memory pressure checks on ChromeOS.
300 const char kDisableMemoryPressureSystemChromeOS[] = 303 const char kDisableMemoryPressureSystemChromeOS[] =
301 "disable-memory-pressure-chromeos"; 304 "disable-memory-pressure-chromeos";
302 305
303 // Enables waking the device based on the receipt of some network packets. 306 // Enables waking the device based on the receipt of some network packets.
304 const char kWakeOnPackets[] = "wake-on-packets"; 307 const char kWakeOnPackets[] = "wake-on-packets";
305 308
306 // Specifies the path for GAIA endpoint. The default value is 309 // Specifies the path for GAIA endpoint. The default value is
307 // "ServiceLogin?skipvpage=true&sarp=1&rm=hide". 310 // "ServiceLogin?skipvpage=true&sarp=1&rm=hide".
308 const char kGaiaEndpointChromeOS[] = "gaia-endpoint-chromeos"; 311 const char kGaiaEndpointChromeOS[] = "gaia-endpoint-chromeos";
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 return base::MemoryPressureObserverChromeOS:: 369 return base::MemoryPressureObserverChromeOS::
367 THRESHOLD_AGGRESSIVE_TAB_DISCARD; 370 THRESHOLD_AGGRESSIVE_TAB_DISCARD;
368 if (option == kAggressiveThreshold) 371 if (option == kAggressiveThreshold)
369 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; 372 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE;
370 373
371 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; 374 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT;
372 } 375 }
373 376
374 } // namespace switches 377 } // namespace switches
375 } // namespace chromeos 378 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | chromeos/dbus/dbus_client_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698