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

Side by Side Diff: chromeos/dbus/fake_session_manager_client.h

Issue 2653823004: Do not restart Chrome to apply user flags with stub session manager (Closed)
Patch Set: .\ Created 3 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 unified diff | Download patch
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_SESSION_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const RetrievePolicyCallback& callback) override; 54 const RetrievePolicyCallback& callback) override;
55 void StoreDevicePolicy(const std::string& policy_blob, 55 void StoreDevicePolicy(const std::string& policy_blob,
56 const StorePolicyCallback& callback) override; 56 const StorePolicyCallback& callback) override;
57 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id, 57 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id,
58 const std::string& policy_blob, 58 const std::string& policy_blob,
59 const StorePolicyCallback& callback) override; 59 const StorePolicyCallback& callback) override;
60 void StoreDeviceLocalAccountPolicy( 60 void StoreDeviceLocalAccountPolicy(
61 const std::string& account_id, 61 const std::string& account_id,
62 const std::string& policy_blob, 62 const std::string& policy_blob,
63 const StorePolicyCallback& callback) override; 63 const StorePolicyCallback& callback) override;
64 bool SupportsRestartToApplyUserFlags() const override;
64 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id, 65 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id,
65 const std::vector<std::string>& flags) override; 66 const std::vector<std::string>& flags) override;
66 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; 67 void GetServerBackedStateKeys(const StateKeysCallback& callback) override;
67 68
68 void CheckArcAvailability(const ArcCallback& callback) override; 69 void CheckArcAvailability(const ArcCallback& callback) override;
69 void StartArcInstance(const cryptohome::Identification& cryptohome_id, 70 void StartArcInstance(const cryptohome::Identification& cryptohome_id,
70 bool disable_boot_completed_broadcast, 71 bool disable_boot_completed_broadcast,
71 const StartArcInstanceCallback& callback) override; 72 const StartArcInstanceCallback& callback) override;
72 void StopArcInstance(const ArcCallback& callback) override; 73 void StopArcInstance(const ArcCallback& callback) override;
73 void PrioritizeArcInstance(const ArcCallback& callback) override; 74 void PrioritizeArcInstance(const ArcCallback& callback) override;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 int notify_lock_screen_dismissed_call_count_; 136 int notify_lock_screen_dismissed_call_count_;
136 137
137 bool arc_available_; 138 bool arc_available_;
138 139
139 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); 140 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient);
140 }; 141 };
141 142
142 } // namespace chromeos 143 } // namespace chromeos
143 144
144 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ 145 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/device_settings_test_helper.cc ('k') | chromeos/dbus/fake_session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698