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

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

Issue 2023803003: arc: Send cryptohome ID on starting ARC instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: s/GetActiveUser/GetPrimaryUser/g Created 4 years, 6 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 | « no previous file | chrome/browser/chromeos/settings/device_settings_test_helper.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 (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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const StorePolicyCallback& callback) override; 113 const StorePolicyCallback& callback) override;
114 void StoreDeviceLocalAccountPolicy( 114 void StoreDeviceLocalAccountPolicy(
115 const std::string& account_id, 115 const std::string& account_id,
116 const std::string& policy_blob, 116 const std::string& policy_blob,
117 const StorePolicyCallback& callback) override; 117 const StorePolicyCallback& callback) override;
118 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id, 118 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id,
119 const std::vector<std::string>& flags) override; 119 const std::vector<std::string>& flags) override;
120 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; 120 void GetServerBackedStateKeys(const StateKeysCallback& callback) override;
121 121
122 void CheckArcAvailability(const ArcCallback& callback) override; 122 void CheckArcAvailability(const ArcCallback& callback) override;
123 void StartArcInstance(const std::string& socket_path, 123 void StartArcInstance(const cryptohome::Identification& cryptohome_id,
124 const ArcCallback& callback) override; 124 const ArcCallback& callback) override;
125 void StopArcInstance(const ArcCallback& callback) override; 125 void StopArcInstance(const ArcCallback& callback) override;
126 void GetArcStartTime(const GetArcStartTimeCallback& callback) override; 126 void GetArcStartTime(const GetArcStartTimeCallback& callback) override;
127 127
128 private: 128 private:
129 struct PolicyState { 129 struct PolicyState {
130 bool store_result_; 130 bool store_result_;
131 std::string policy_blob_; 131 std::string policy_blob_;
132 std::vector<StorePolicyCallback> store_callbacks_; 132 std::vector<StorePolicyCallback> store_callbacks_;
133 std::vector<RetrievePolicyCallback> retrieve_callbacks_; 133 std::vector<RetrievePolicyCallback> retrieve_callbacks_;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 std::unique_ptr<DBusThreadManagerSetter> dbus_setter_; 197 std::unique_ptr<DBusThreadManagerSetter> dbus_setter_;
198 198
199 private: 199 private:
200 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); 200 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase);
201 }; 201 };
202 202
203 } // namespace chromeos 203 } // namespace chromeos
204 204
205 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ 205 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/settings/device_settings_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698