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

Side by Side Diff: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_IM PL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_IM PL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_IM PL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER_IM PL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const std::string enrolling_user_domain_; 79 const std::string enrolling_user_domain_;
80 bool fetch_additional_token_; 80 bool fetch_additional_token_;
81 81
82 bool started_; 82 bool started_;
83 std::string additional_token_; 83 std::string additional_token_;
84 bool finished_; 84 bool finished_;
85 bool success_; 85 bool success_;
86 bool auth_data_cleared_; 86 bool auth_data_cleared_;
87 std::string oauth_token_; 87 std::string oauth_token_;
88 88
89 scoped_ptr<policy::PolicyOAuth2TokenFetcher> oauth_fetcher_; 89 std::unique_ptr<policy::PolicyOAuth2TokenFetcher> oauth_fetcher_;
90 90
91 base::WeakPtrFactory<EnterpriseEnrollmentHelperImpl> weak_ptr_factory_; 91 base::WeakPtrFactory<EnterpriseEnrollmentHelperImpl> weak_ptr_factory_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentHelperImpl); 93 DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentHelperImpl);
94 }; 94 };
95 95
96 } // namespace chromeos 96 } // namespace chromeos
97 97
98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER _IMPL_H_ 98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_HELPER _IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698