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

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

Issue 2561023002: arc: ARC loading progress should not be shown when started from OOBE. (Closed)
Patch Set: use TermsAccepted event to start Arc for managed users Created 4 years 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_SESSION_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <ostream> 9 #include <ostream>
10 #include <string> 10 #include <string>
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 void OnProvisioningFinished(ProvisioningResult result); 207 void OnProvisioningFinished(ProvisioningResult result);
208 208
209 private: 209 private:
210 // Negotiates the terms of service to user. 210 // Negotiates the terms of service to user.
211 void StartTermsOfServiceNegotiation(); 211 void StartTermsOfServiceNegotiation();
212 void OnTermsOfServiceNegotiated(bool accepted); 212 void OnTermsOfServiceNegotiated(bool accepted);
213 213
214 void SetState(State state); 214 void SetState(State state);
215 void ShutdownBridge(); 215 void ShutdownBridge();
216 void OnOptInPreferenceChanged(); 216 void OnOptInPreferenceChanged();
217 void OnTermsAcceptedPreferenceChanged();
217 void OnAndroidManagementPassed(); 218 void OnAndroidManagementPassed();
218 void OnArcDataRemoved(bool success); 219 void OnArcDataRemoved(bool success);
219 void OnArcSignInTimeout(); 220 void OnArcSignInTimeout();
220 void FetchAuthCode(); 221 void FetchAuthCode();
221 void PrepareContextForAuthCodeRequest(); 222 void PrepareContextForAuthCodeRequest();
222 223
223 void StartArcAndroidManagementCheck(); 224 void StartArcAndroidManagementCheck();
224 void MaybeReenableArc(); 225 void MaybeReenableArc();
225 226
226 // Called when the Android management check is done in opt-in flow or 227 // Called when the Android management check is done in opt-in flow or
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 DISALLOW_COPY_AND_ASSIGN(ArcSessionManager); 261 DISALLOW_COPY_AND_ASSIGN(ArcSessionManager);
261 }; 262 };
262 263
263 // Outputs the stringified |state| to |os|. This is only for logging purposes. 264 // Outputs the stringified |state| to |os|. This is only for logging purposes.
264 std::ostream& operator<<(std::ostream& os, 265 std::ostream& operator<<(std::ostream& os,
265 const ArcSessionManager::State& state); 266 const ArcSessionManager::State& state);
266 267
267 } // namespace arc 268 } // namespace arc
268 269
269 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_ 270 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_session_manager.cc » ('j') | chrome/browser/chromeos/arc/arc_session_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698