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

Unified Diff: chromeos/dbus/fake_session_manager_client.h

Issue 1684063002: Add ArcEnabled policy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@26869593
Patch Set: Added browser test. Created 4 years, 10 months 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
Index: chromeos/dbus/fake_session_manager_client.h
diff --git a/chromeos/dbus/fake_session_manager_client.h b/chromeos/dbus/fake_session_manager_client.h
index b281847413a29ddd720a94b56034077b18fdb788..686adf26a035ddcec07d09d1fbb31c3664d983d7 100644
--- a/chromeos/dbus/fake_session_manager_client.h
+++ b/chromeos/dbus/fake_session_manager_client.h
@@ -103,6 +103,8 @@ class FakeSessionManagerClient : public SessionManagerClient {
return notify_lock_screen_dismissed_call_count_;
}
+ void set_arc_available(bool available) { arc_available_ = available; }
+
private:
std::string device_policy_;
std::map<std::string, std::string> user_policies_;
@@ -115,6 +117,8 @@ class FakeSessionManagerClient : public SessionManagerClient {
int notify_lock_screen_shown_call_count_;
int notify_lock_screen_dismissed_call_count_;
+ bool arc_available_;
+
DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient);
};

Powered by Google App Engine
This is Rietveld 408576698