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

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

Issue 2323133002: Speed up ARC boot if the user launches ARC app while ARC is not ready (Closed)
Patch Set: Created 4 years, 3 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const std::string& policy_blob, 60 const std::string& policy_blob,
61 const StorePolicyCallback& callback) override; 61 const StorePolicyCallback& callback) override;
62 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id, 62 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id,
63 const std::vector<std::string>& flags) override; 63 const std::vector<std::string>& flags) override;
64 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; 64 void GetServerBackedStateKeys(const StateKeysCallback& callback) override;
65 65
66 void CheckArcAvailability(const ArcCallback& callback) override; 66 void CheckArcAvailability(const ArcCallback& callback) override;
67 void StartArcInstance(const cryptohome::Identification& cryptohome_id, 67 void StartArcInstance(const cryptohome::Identification& cryptohome_id,
68 const ArcCallback& callback) override; 68 const ArcCallback& callback) override;
69 void StopArcInstance(const ArcCallback& callback) override; 69 void StopArcInstance(const ArcCallback& callback) override;
70 void PrioritizeArcInstance(const ArcCallback& callback) override;
70 void GetArcStartTime(const GetArcStartTimeCallback& callback) override; 71 void GetArcStartTime(const GetArcStartTimeCallback& callback) override;
71 void RemoveArcData(const cryptohome::Identification& cryptohome_id, 72 void RemoveArcData(const cryptohome::Identification& cryptohome_id,
72 const ArcCallback& callback) override; 73 const ArcCallback& callback) override;
73 74
74 const std::string& device_policy() const; 75 const std::string& device_policy() const;
75 void set_device_policy(const std::string& policy_blob); 76 void set_device_policy(const std::string& policy_blob);
76 77
77 const std::string& user_policy( 78 const std::string& user_policy(
78 const cryptohome::Identification& cryptohome_id) const; 79 const cryptohome::Identification& cryptohome_id) const;
79 void set_user_policy(const cryptohome::Identification& cryptohome_id, 80 void set_user_policy(const cryptohome::Identification& cryptohome_id,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 int notify_lock_screen_dismissed_call_count_; 128 int notify_lock_screen_dismissed_call_count_;
128 129
129 bool arc_available_; 130 bool arc_available_;
130 131
131 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); 132 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient);
132 }; 133 };
133 134
134 } // namespace chromeos 135 } // namespace chromeos
135 136
136 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ 137 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698