summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_debug_daemon_client.h
diff options
context:
space:
mode:
authorzelidrag <zelidrag@chromium.org>2014-11-13 20:05:53 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-14 04:06:10 +0000
commit459b11b10f0f18c4111bcfa973be5244171f1412 (patch)
tree9fbaf5f612ccf17981138a87fc11e989494bc486 /chromeos/dbus/fake_debug_daemon_client.h
parent04a9958219dd71e823dc04819abe75b5f9eb7e38 (diff)
downloadchromium_src-459b11b10f0f18c4111bcfa973be5244171f1412.zip
chromium_src-459b11b10f0f18c4111bcfa973be5244171f1412.tar.gz
chromium_src-459b11b10f0f18c4111bcfa973be5244171f1412.tar.bz2
Added UI to enable debugging features on CrOS
BUG=403165 TEST=EnableDebuggingNonDevTest.NoShowInNonDevMode, EnableDebuggingTest.ShowAndCancelRemoveProtection, EnableDebuggingTest.ShowAndRemoveProtection, EnableDebuggingTest.ShowSetup, WizardControllerEnableDebuggingTest.ShowAndCancelEnableDebugging TBR=mnissler Review URL: https://codereview.chromium.org/539273002 Cr-Commit-Position: refs/heads/master@{#304161}
Diffstat (limited to 'chromeos/dbus/fake_debug_daemon_client.h')
-rw-r--r--chromeos/dbus/fake_debug_daemon_client.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromeos/dbus/fake_debug_daemon_client.h b/chromeos/dbus/fake_debug_daemon_client.h
index c8b5256..5b24047 100644
--- a/chromeos/dbus/fake_debug_daemon_client.h
+++ b/chromeos/dbus/fake_debug_daemon_client.h
@@ -50,8 +50,20 @@ class CHROMEOS_EXPORT FakeDebugDaemonClient : public DebugDaemonClient {
const std::map<std::string, std::string>& options,
const TestICMPCallback& callback) override;
virtual void UploadCrashes() override;
+ virtual void EnableDebuggingFeatures(
+ const std::string& password,
+ const EnableDebuggingCallback& callback) override;
+ virtual void QueryDebuggingFeatures(
+ const QueryDevFeaturesCallback& callback) override;
+ virtual void RemoveRootfsVerification(
+ const EnableDebuggingCallback& callback) override;
+
+ // Sets debugging features mask for testing.
+ virtual void SetDebuggingFeaturesStatus(int featues_mask);
private:
+ int featues_mask_;
+
DISALLOW_COPY_AND_ASSIGN(FakeDebugDaemonClient);
};