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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 869073003: Introducing new switches for default wallpapers for accounts for kids. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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') | 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 "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 8
9 namespace chromeos { 9 namespace chromeos {
10 namespace switches { 10 namespace switches {
11 11
12 // Path for app's OEM manifest file. 12 // Path for app's OEM manifest file.
13 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; 13 const char kAppOemManifestFile[] = "app-mode-oem-manifest";
14 14
15 // When wallpaper boot animation is not disabled this switch 15 // When wallpaper boot animation is not disabled this switch
16 // is used to override OOBE/sign in WebUI init type. 16 // is used to override OOBE/sign in WebUI init type.
17 // Possible values: parallel|postpone. Default: parallel. 17 // Possible values: parallel|postpone. Default: parallel.
18 const char kAshWebUIInit[] = "ash-webui-init"; 18 const char kAshWebUIInit[] = "ash-webui-init";
19 19
20 // Default wallpaper to use for kids accounts
21 // (as paths to trusted, non-user-writable JPEG files).
22 const char kChildWallpaperLarge[] = "child-wallpaper-large";
23 const char kChildWallpaperSmall[] = "child-wallpaper-small";
24
20 // Specifies the URL of the consumer device management backend. 25 // Specifies the URL of the consumer device management backend.
21 const char kConsumerDeviceManagementUrl[] = "consumer-device-management-url"; 26 const char kConsumerDeviceManagementUrl[] = "consumer-device-management-url";
22 27
23 // Forces the stub implementation of dbus clients. 28 // Forces the stub implementation of dbus clients.
24 const char kDbusStub[] = "dbus-stub"; 29 const char kDbusStub[] = "dbus-stub";
25 30
26 // Comma-spearated list of dbus clients that should be unstubbed. 31 // Comma-spearated list of dbus clients that should be unstubbed.
27 // See chromeos/dbus/dbus_client_bundle.cc for the names of the dbus clients. 32 // See chromeos/dbus/dbus_client_bundle.cc for the names of the dbus clients.
28 const char kDbusUnstubClients[] = "dbus-unstub-clients"; 33 const char kDbusUnstubClients[] = "dbus-unstub-clients";
29 34
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 } 319 }
315 if (option == "3") { 320 if (option == "3") {
316 return base::MemoryPressureObserverChromeOS:: 321 return base::MemoryPressureObserverChromeOS::
317 THRESHOLD_AGGRESSIVE_TAB_DISCARD; 322 THRESHOLD_AGGRESSIVE_TAB_DISCARD;
318 } 323 }
319 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; 324 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE;
320 } 325 }
321 326
322 } // namespace switches 327 } // namespace switches
323 } // namespace chromeos 328 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698