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

Side by Side Diff: chrome/browser/chromeos/arc/arc_auth_service.h

Issue 2320813002: arc: Enable silent PlayStore Sign-In. (Closed)
Patch Set: cleanup 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_ARC_ARC_AUTH_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <ostream> 9 #include <ostream>
10 #include <string> 10 #include <string>
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 // syncable_prefs::PrefServiceSyncableObserver 168 // syncable_prefs::PrefServiceSyncableObserver
169 void OnIsSyncingChanged() override; 169 void OnIsSyncingChanged() override;
170 170
171 // syncable_prefs::SyncedPrefObserver 171 // syncable_prefs::SyncedPrefObserver
172 void OnSyncedPrefChanged(const std::string& path, bool from_sync) override; 172 void OnSyncedPrefChanged(const std::string& path, bool from_sync) override;
173 173
174 // ArcAuthContextDelegate: 174 // ArcAuthContextDelegate:
175 void OnContextReady() override; 175 void OnContextReady() override;
176 void OnPrepareContextFailed() override; 176 void OnPrepareContextFailed() override;
177 void OnAuthCodeRequested(const std::string& auth_code) override;
178 void OnAuthCodeFailed() override;
177 179
178 // ArcAndroidManagementCheckerDelegate: 180 // ArcAndroidManagementCheckerDelegate:
179 void OnAndroidManagementChecked( 181 void OnAndroidManagementChecked(
180 policy::AndroidManagementClient::Result result) override; 182 policy::AndroidManagementClient::Result result) override;
181 183
182 // Stops ARC without changing ArcEnabled preference. 184 // Stops ARC without changing ArcEnabled preference.
183 void StopArc(); 185 void StopArc();
184 186
185 // StopArc(), then EnableArc(). Between them data clear may happens. 187 // StopArc(), then EnableArc(). Between them data clear may happens.
186 // This is a special method to support enterprise device lost case. 188 // This is a special method to support enterprise device lost case.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 base::WeakPtrFactory<ArcAuthService> weak_ptr_factory_; 243 base::WeakPtrFactory<ArcAuthService> weak_ptr_factory_;
242 244
243 DISALLOW_COPY_AND_ASSIGN(ArcAuthService); 245 DISALLOW_COPY_AND_ASSIGN(ArcAuthService);
244 }; 246 };
245 247
246 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state); 248 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state);
247 249
248 } // namespace arc 250 } // namespace arc
249 251
250 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ 252 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698