Commit efaa1004 authored by Mattias Nissler's avatar Mattias Nissler Committed by Commit Bot

Fix typo in FakeDebugDaemonClient

BUG=None
TEST=Compiles

Change-Id: I2d87af0d1f4164d9d28621fdefa547ee94896402
Reviewed-on: https://chromium-review.googlesource.com/c/1458198Reviewed-by: default avatarDan Erat <derat@chromium.org>
Commit-Queue: Mattias Nissler <mnissler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629975}
parent 7a378d3c
...@@ -31,7 +31,7 @@ const char kCrOSTraceLabel[] = "systemTraceEvents"; ...@@ -31,7 +31,7 @@ const char kCrOSTraceLabel[] = "systemTraceEvents";
namespace chromeos { namespace chromeos {
FakeDebugDaemonClient::FakeDebugDaemonClient() FakeDebugDaemonClient::FakeDebugDaemonClient()
: featues_mask_(DebugDaemonClient::DEV_FEATURE_NONE), : features_mask_(DebugDaemonClient::DEV_FEATURE_NONE),
service_is_available_(true) { service_is_available_(true) {
} }
...@@ -184,7 +184,7 @@ void FakeDebugDaemonClient::QueryDebuggingFeatures( ...@@ -184,7 +184,7 @@ void FakeDebugDaemonClient::QueryDebuggingFeatures(
base::BindOnce( base::BindOnce(
callback, true, callback, true,
static_cast<int>( static_cast<int>(
supported ? featues_mask_ supported ? features_mask_
: debugd::DevFeatureFlag::DEV_FEATURES_DISABLED))); : debugd::DevFeatureFlag::DEV_FEATURES_DISABLED)));
} }
...@@ -212,8 +212,8 @@ void FakeDebugDaemonClient::SetOomScoreAdj( ...@@ -212,8 +212,8 @@ void FakeDebugDaemonClient::SetOomScoreAdj(
FROM_HERE, base::BindOnce(callback, true, "")); FROM_HERE, base::BindOnce(callback, true, ""));
} }
void FakeDebugDaemonClient::SetDebuggingFeaturesStatus(int featues_mask) { void FakeDebugDaemonClient::SetDebuggingFeaturesStatus(int features_mask) {
featues_mask_ = featues_mask; features_mask_ = features_mask;
} }
void FakeDebugDaemonClient::SetServiceIsAvailable(bool is_available) { void FakeDebugDaemonClient::SetServiceIsAvailable(bool is_available) {
......
...@@ -92,14 +92,14 @@ class COMPONENT_EXPORT(CHROMEOS_DBUS) FakeDebugDaemonClient ...@@ -92,14 +92,14 @@ class COMPONENT_EXPORT(CHROMEOS_DBUS) FakeDebugDaemonClient
void SetRlzPingSent(SetRlzPingSentCallback callback) override; void SetRlzPingSent(SetRlzPingSentCallback callback) override;
// Sets debugging features mask for testing. // Sets debugging features mask for testing.
virtual void SetDebuggingFeaturesStatus(int featues_mask); virtual void SetDebuggingFeaturesStatus(int features_mask);
// Changes the behavior of WaitForServiceToBeAvailable(). This method runs // Changes the behavior of WaitForServiceToBeAvailable(). This method runs
// pending callbacks if is_available is true. // pending callbacks if is_available is true.
void SetServiceIsAvailable(bool is_available); void SetServiceIsAvailable(bool is_available);
private: private:
int featues_mask_; int features_mask_;
bool service_is_available_; bool service_is_available_;
std::vector<WaitForServiceToBeAvailableCallback> std::vector<WaitForServiceToBeAvailableCallback>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment