forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
stevenjb@google.com
committed
May 11, 2012
1 parent
db92eeb
commit 66149a5
Showing
6 changed files
with
125 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// 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. | ||
|
||
#include "chromeos/chromeos_switches.h" | ||
|
||
namespace chromeos { | ||
namespace switches { | ||
|
||
// Forces the stub implementation of dbus clients. | ||
const char kDbusStub[] = "dbus-stub"; | ||
|
||
} // namespace switches | ||
} // namespace chromeos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters