Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chromeos / dbus / fake_power_manager_client.h
index 61ad673..dd0cd26 100644 (file)
@@ -31,6 +31,12 @@ class FakePowerManagerClient : public PowerManagerClient {
   int num_set_policy_calls() const {
     return num_set_policy_calls_;
   }
+  int num_set_is_projecting_calls() const {
+    return num_set_is_projecting_calls_;
+  }
+  bool is_projecting() const {
+    return is_projecting_;
+  }
 
   // PowerManagerClient overrides
   virtual void Init(dbus::Bus* bus) OVERRIDE;
@@ -81,6 +87,12 @@ class FakePowerManagerClient : public PowerManagerClient {
   // Number of times that SetPolicy() has been called.
   int num_set_policy_calls_;
 
+  // Count the number of times SetIsProjecting() has been called.
+  int num_set_is_projecting_calls_;
+
+  // Last projecting state set in SetIsProjecting().
+  bool is_projecting_;
+
   DISALLOW_COPY_AND_ASSIGN(FakePowerManagerClient);
 };