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

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: small fix 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 ArcAuthContext* auth_context() { return context_.get(); } 203 ArcAuthContext* auth_context() { return context_.get(); }
204 204
205 void StartArc(); 205 void StartArc();
206 206
207 void OnProvisioningFinished(ProvisioningResult result); 207 void OnProvisioningFinished(ProvisioningResult result);
208 208
209 void SetAttemptUserExitCallbackForTesting(const base::Closure& callback); 209 void SetAttemptUserExitCallbackForTesting(const base::Closure& callback);
210 210
211 private: 211 private:
212 // Negotiates the terms of service to user. 212 // Negotiates the terms of service to user.
213 void StartTermsOfServiceNegotiation(); 213 void StartTermsOfServiceNegotiation(bool initial_run);
214 void OnTermsOfServiceNegotiated(bool accepted); 214 void OnTermsOfServiceNegotiated(bool accepted);
215 215
216 void SetState(State state); 216 void SetState(State state);
217 void ShutdownBridge(); 217 void ShutdownBridge();
218 void OnOptInPreferenceChanged(); 218 void OnOptInPreferenceChanged(bool initial_run);
219 void OnAndroidManagementPassed(); 219 void OnAndroidManagementPassed();
220 void OnArcDataRemoved(bool success); 220 void OnArcDataRemoved(bool success);
221 void OnArcSignInTimeout(); 221 void OnArcSignInTimeout();
222 void FetchAuthCode(); 222 void FetchAuthCode();
223 void PrepareContextForAuthCodeRequest(); 223 void PrepareContextForAuthCodeRequest();
224 224
225 void StartArcAndroidManagementCheck(); 225 void StartArcAndroidManagementCheck();
226 void MaybeReenableArc(); 226 void MaybeReenableArc();
227 227
228 // Called when the Android management check is done in opt-in flow or 228 // Called when the Android management check is done in opt-in flow or
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 DISALLOW_COPY_AND_ASSIGN(ArcSessionManager); 263 DISALLOW_COPY_AND_ASSIGN(ArcSessionManager);
264 }; 264 };
265 265
266 // Outputs the stringified |state| to |os|. This is only for logging purposes. 266 // Outputs the stringified |state| to |os|. This is only for logging purposes.
267 std::ostream& operator<<(std::ostream& os, 267 std::ostream& operator<<(std::ostream& os,
268 const ArcSessionManager::State& state); 268 const ArcSessionManager::State& state);
269 269
270 } // namespace arc 270 } // namespace arc
271 271
272 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_ 272 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698