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 c475b972d27b2e21555f1a7c6fd9824c65282768..d008880ce4e74dccc6a772d4a0200457efbd8921 100644 |
--- a/chromeos/dbus/fake_debug_daemon_client.h |
+++ b/chromeos/dbus/fake_debug_daemon_client.h |
@@ -9,6 +9,7 @@ |
#include <sys/types.h> |
#include <map> |
+#include <set> |
#include <string> |
#include <vector> |
@@ -71,6 +72,15 @@ class CHROMEOS_EXPORT FakeDebugDaemonClient : public DebugDaemonClient { |
const WaitForServiceToBeAvailableCallback& callback) override; |
void SetOomScoreAdj(const std::map<pid_t, int32_t>& pid_to_oom_score_adj, |
const SetOomScoreAdjCallback& callback) override; |
+ void CupsAddPrinter(const std::string& name, |
+ const std::string& uri, |
+ const std::string& ppd_path, |
+ bool ipp_everywhere, |
+ const CupsAddPrinterCallback& callback, |
+ const base::Closure& error_callback) override; |
+ void CupsRemovePrinter(const std::string& name, |
+ const CupsRemovePrinterCallback& callback, |
+ const base::Closure& error_callback) override; |
// Sets debugging features mask for testing. |
virtual void SetDebuggingFeaturesStatus(int featues_mask); |
@@ -85,6 +95,7 @@ class CHROMEOS_EXPORT FakeDebugDaemonClient : public DebugDaemonClient { |
bool service_is_available_; |
std::vector<WaitForServiceToBeAvailableCallback> |
pending_wait_for_service_to_be_available_callbacks_; |
+ std::set<std::string> printers_; |
DISALLOW_COPY_AND_ASSIGN(FakeDebugDaemonClient); |
}; |