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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chromeos/dbus/debug_daemon_client.h" 10 #include "chromeos/dbus/debug_daemon_client.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void GetScrubbedLogs(const GetLogsCallback& callback) override; 43 virtual void GetScrubbedLogs(const GetLogsCallback& callback) override;
44 virtual void GetAllLogs(const GetLogsCallback& callback) override; 44 virtual void GetAllLogs(const GetLogsCallback& callback) override;
45 virtual void GetUserLogFiles(const GetLogsCallback& callback) override; 45 virtual void GetUserLogFiles(const GetLogsCallback& callback) override;
46 virtual void TestICMP(const std::string& ip_address, 46 virtual void TestICMP(const std::string& ip_address,
47 const TestICMPCallback& callback) override; 47 const TestICMPCallback& callback) override;
48 virtual void TestICMPWithOptions( 48 virtual void TestICMPWithOptions(
49 const std::string& ip_address, 49 const std::string& ip_address,
50 const std::map<std::string, std::string>& options, 50 const std::map<std::string, std::string>& options,
51 const TestICMPCallback& callback) override; 51 const TestICMPCallback& callback) override;
52 virtual void UploadCrashes() override; 52 virtual void UploadCrashes() override;
53 virtual void EnableDebuggingFeatures(
54 const std::string& password,
55 const EnableDebuggingCallback& callback) override;
56 virtual void QueryDebuggingFeatures(
57 const QueryDevFeaturesCallback& callback) override;
58 virtual void RemoveRootfsVerification(
59 const EnableDebuggingCallback& callback) override;
60
61 // Sets debugging features mask for testing.
62 virtual void SetDebuggingFeaturesStatus(int featues_mask);
53 63
54 private: 64 private:
65 int featues_mask_;
66
55 DISALLOW_COPY_AND_ASSIGN(FakeDebugDaemonClient); 67 DISALLOW_COPY_AND_ASSIGN(FakeDebugDaemonClient);
56 }; 68 };
57 69
58 } // namespace chromeos 70 } // namespace chromeos
59 71
60 #endif // CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ 72 #endif // CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_
OLDNEW
« 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