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

Side by Side Diff: chrome/browser/chromeos/settings/device_settings_test_helper.h

Issue 2693013006: arc: Add cryptohome_id to EmitArcBooted. (Closed)
Patch Set: Address Luis's comments. 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_
6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; 123 void GetServerBackedStateKeys(const StateKeysCallback& callback) override;
124 124
125 void CheckArcAvailability(const ArcCallback& callback) override; 125 void CheckArcAvailability(const ArcCallback& callback) override;
126 void StartArcInstance(const cryptohome::Identification& cryptohome_id, 126 void StartArcInstance(const cryptohome::Identification& cryptohome_id,
127 bool disable_boot_completed_broadcast, 127 bool disable_boot_completed_broadcast,
128 const StartArcInstanceCallback& callback) override; 128 const StartArcInstanceCallback& callback) override;
129 void StopArcInstance(const ArcCallback& callback) override; 129 void StopArcInstance(const ArcCallback& callback) override;
130 void SetArcCpuRestriction( 130 void SetArcCpuRestriction(
131 login_manager::ContainerCpuRestrictionState restriction_state, 131 login_manager::ContainerCpuRestrictionState restriction_state,
132 const ArcCallback& callback) override; 132 const ArcCallback& callback) override;
133 void EmitArcBooted() override; 133 void EmitArcBooted(const cryptohome::Identification& cryptohome_id,
134 const ArcCallback& callback) override;
134 void GetArcStartTime(const GetArcStartTimeCallback& callback) override; 135 void GetArcStartTime(const GetArcStartTimeCallback& callback) override;
135 void RemoveArcData(const cryptohome::Identification& cryptohome_id, 136 void RemoveArcData(const cryptohome::Identification& cryptohome_id,
136 const ArcCallback& callback) override; 137 const ArcCallback& callback) override;
137 138
138 private: 139 private:
139 struct PolicyState { 140 struct PolicyState {
140 bool store_result_; 141 bool store_result_;
141 std::string policy_blob_; 142 std::string policy_blob_;
142 std::vector<StorePolicyCallback> store_callbacks_; 143 std::vector<StorePolicyCallback> store_callbacks_;
143 std::vector<RetrievePolicyCallback> retrieve_callbacks_; 144 std::vector<RetrievePolicyCallback> retrieve_callbacks_;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 207
207 std::unique_ptr<DBusThreadManagerSetter> dbus_setter_; 208 std::unique_ptr<DBusThreadManagerSetter> dbus_setter_;
208 209
209 private: 210 private:
210 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); 211 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase);
211 }; 212 };
212 213
213 } // namespace chromeos 214 } // namespace chromeos
214 215
215 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ 216 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698