summaryrefslogtreecommitdiffstats
path: root/chromeos/chromeos_switches.h
diff options
context:
space:
mode:
authorstevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 19:14:27 +0000
committerstevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 19:14:27 +0000
commit66149a5cbd355757e63a82b9d3280cc6e0d36da8 (patch)
tree50df6fded94acde0224be8d8deb82bb673937ce2 /chromeos/chromeos_switches.h
parentdb92eeb9e9003acddf76ba1237630134be67ae56 (diff)
downloadchromium_src-66149a5cbd355757e63a82b9d3280cc6e0d36da8.zip
chromium_src-66149a5cbd355757e63a82b9d3280cc6e0d36da8.tar.gz
chromium_src-66149a5cbd355757e63a82b9d3280cc6e0d36da8.tar.bz2
Add --dbus-stub for testing dbus stub implementations on a device.
Change-Id: I4730996e6a860833ce7e66792d62dbd1f6db00ea BUG=none TEST=Add --dbus-stub to /sbin/session_manager_startup.sh; dbus stub implementation should be used for non-critical components (e.g. power manager) Review URL: https://chromiumcodereview.appspot.com/10392029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/chromeos_switches.h')
-rw-r--r--chromeos/chromeos_switches.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/chromeos/chromeos_switches.h b/chromeos/chromeos_switches.h
new file mode 100644
index 0000000..5b33dea
--- /dev/null
+++ b/chromeos/chromeos_switches.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROMEOS_CHROMEOS_SWITCHES_H_
+#define CHROMEOS_CHROMEOS_SWITCHES_H_
+#pragma once
+
+#include "chromeos/chromeos_export.h"
+
+namespace chromeos {
+namespace switches {
+
+// Switches that are used in src/chromeos must go here.
+// Other switches that apply just to chromeos code should go here also (along
+// with any code that is specific to the chromeos system). ChromeOS specific UI
+// should be in src/ash.
+
+// Note: If you add a switch, consider if it needs to be copied to a subsequent
+// command line if the process executes a new copy of itself. (For example,
+// see chromeos::LoginUtil::GetOffTheRecordCommandLine().)
+
+// Please keep alphabetized.
+CHROMEOS_EXPORT extern const char kDbusStub[];
+
+} // namespace switches
+} // namespace chromeos
+
+#endif // CHROMEOS_CHROMEOS_SWITCHES_H_