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

Unified Diff: chromeos/dbus/fake_debug_daemon_client.h

Issue 539273002: Added UI to enable debugging features on CrOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/debug_daemon_client.cc ('k') | chromeos/dbus/fake_debug_daemon_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_debug_daemon_client.h
diff --git a/chromeos/dbus/fake_debug_daemon_client.h b/chromeos/dbus/fake_debug_daemon_client.h
index c8b525674c0d15b9856d6593d438e6b2b6ce07cc..5b240478f00ae176ddda5acb5a68d7bd5ed26825 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);
};
« no previous file with comments | « chromeos/dbus/debug_daemon_client.cc ('k') | chromeos/dbus/fake_debug_daemon_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698