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

Side by Side Diff: chrome/browser/ui/webui/options/create_profile_handler.h

Issue 1865213004: Convert //chrome/browser/ui 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 const GoogleServiceAuthError& error); 149 const GoogleServiceAuthError& error);
150 150
151 // Records UMA histograms relevant to supervised user profiles 151 // Records UMA histograms relevant to supervised user profiles
152 // creation and registration. 152 // creation and registration.
153 void RecordSupervisedProfileCreationMetrics( 153 void RecordSupervisedProfileCreationMetrics(
154 GoogleServiceAuthError::State error_state); 154 GoogleServiceAuthError::State error_state);
155 155
156 bool IsValidExistingSupervisedUserId( 156 bool IsValidExistingSupervisedUserId(
157 const std::string& existing_supervised_user_id) const; 157 const std::string& existing_supervised_user_id) const;
158 158
159 scoped_ptr<SupervisedUserRegistrationUtility> 159 std::unique_ptr<SupervisedUserRegistrationUtility>
160 supervised_user_registration_utility_; 160 supervised_user_registration_utility_;
161 #endif 161 #endif
162 162
163 base::WeakPtrFactory<CreateProfileHandler> weak_ptr_factory_; 163 base::WeakPtrFactory<CreateProfileHandler> weak_ptr_factory_;
164 164
165 DISALLOW_COPY_AND_ASSIGN(CreateProfileHandler); 165 DISALLOW_COPY_AND_ASSIGN(CreateProfileHandler);
166 }; 166 };
167 167
168 } // namespace options 168 } // namespace options
169 169
170 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_ 170 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CREATE_PROFILE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/core_options_handler.cc ('k') | chrome/browser/ui/webui/options/font_settings_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698