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

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

Issue 2714493002: Load DeviceLocalAccount policy and DeviceSettings immediately on restore after Chrome crash. (Closed)
Patch Set: wrap Validator in unique_ptr Created 3 years, 9 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chromeos/dbus/fake_session_manager_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_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 27 matching lines...) Expand all
38 void StartSession(const cryptohome::Identification& cryptohome_id) override; 38 void StartSession(const cryptohome::Identification& cryptohome_id) override;
39 void StopSession() override; 39 void StopSession() override;
40 void NotifySupervisedUserCreationStarted() override; 40 void NotifySupervisedUserCreationStarted() override;
41 void NotifySupervisedUserCreationFinished() override; 41 void NotifySupervisedUserCreationFinished() override;
42 void StartDeviceWipe() override; 42 void StartDeviceWipe() override;
43 void RequestLockScreen() override; 43 void RequestLockScreen() override;
44 void NotifyLockScreenShown() override; 44 void NotifyLockScreenShown() override;
45 void NotifyLockScreenDismissed() override; 45 void NotifyLockScreenDismissed() override;
46 void RetrieveActiveSessions(const ActiveSessionsCallback& callback) override; 46 void RetrieveActiveSessions(const ActiveSessionsCallback& callback) override;
47 void RetrieveDevicePolicy(const RetrievePolicyCallback& callback) override; 47 void RetrieveDevicePolicy(const RetrievePolicyCallback& callback) override;
48 std::string BlockingRetrieveDevicePolicy() override;
48 void RetrievePolicyForUser(const cryptohome::Identification& cryptohome_id, 49 void RetrievePolicyForUser(const cryptohome::Identification& cryptohome_id,
49 const RetrievePolicyCallback& callback) override; 50 const RetrievePolicyCallback& callback) override;
50 std::string BlockingRetrievePolicyForUser( 51 std::string BlockingRetrievePolicyForUser(
51 const cryptohome::Identification& cryptohome_id) override; 52 const cryptohome::Identification& cryptohome_id) override;
52 void RetrieveDeviceLocalAccountPolicy( 53 void RetrieveDeviceLocalAccountPolicy(
53 const std::string& account_id, 54 const std::string& account_id,
54 const RetrievePolicyCallback& callback) override; 55 const RetrievePolicyCallback& callback) override;
56 std::string BlockingRetrieveDeviceLocalAccountPolicy(
57 const std::string& account_id) override;
55 void StoreDevicePolicy(const std::string& policy_blob, 58 void StoreDevicePolicy(const std::string& policy_blob,
56 const StorePolicyCallback& callback) override; 59 const StorePolicyCallback& callback) override;
57 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id, 60 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id,
58 const std::string& policy_blob, 61 const std::string& policy_blob,
59 const StorePolicyCallback& callback) override; 62 const StorePolicyCallback& callback) override;
60 void StoreDeviceLocalAccountPolicy( 63 void StoreDeviceLocalAccountPolicy(
61 const std::string& account_id, 64 const std::string& account_id,
62 const std::string& policy_blob, 65 const std::string& policy_blob,
63 const StorePolicyCallback& callback) override; 66 const StorePolicyCallback& callback) override;
64 bool SupportsRestartToApplyUserFlags() const override; 67 bool SupportsRestartToApplyUserFlags() const override;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 int notify_lock_screen_dismissed_call_count_; 139 int notify_lock_screen_dismissed_call_count_;
137 140
138 bool arc_available_; 141 bool arc_available_;
139 142
140 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); 143 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient);
141 }; 144 };
142 145
143 } // namespace chromeos 146 } // namespace chromeos
144 147
145 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ 148 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chromeos/dbus/fake_session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698