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

Unified Diff: chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.h

Issue 1878263002: Unittests for signin_supervised_user_import_handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Roger's comment 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.h
diff --git a/chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.h b/chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.h
index 2f2738569584ec84372d8daee3f9bfb964dd458b..4d89864e6e032283ee3f39519579ba85d7afa53b 100644
--- a/chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.h
+++ b/chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.h
@@ -30,6 +30,13 @@ class SigninSupervisedUserImportHandler : public content::WebUIMessageHandler {
void RegisterMessages() override;
private:
+ FRIEND_TEST_ALL_PREFIXES(SigninSupervisedUserImportHandlerTest,
+ NotAuthenticated);
+ FRIEND_TEST_ALL_PREFIXES(SigninSupervisedUserImportHandlerTest, AuthError);
+ FRIEND_TEST_ALL_PREFIXES(SigninSupervisedUserImportHandlerTest,
+ CustodianIsSupervised);
+ FRIEND_TEST_ALL_PREFIXES(SigninSupervisedUserImportHandlerTest,
+ SendExistingSupervisedUsers);
// Assigns a new |webui_callback_id_|. Ensures that previous in-flight request
// has been fulfilled.
void AssignWebUICallbackId(const base::ListValue* args);
@@ -46,7 +53,7 @@ class SigninSupervisedUserImportHandler : public content::WebUIMessageHandler {
void GetExistingSupervisedUsers(const base::ListValue* args);
void LoadCustodianProfileCallback(Profile* custodian_profile,
- Profile::CreateStatus status);
+ Profile::CreateStatus status);
// Reject the WebUI callback with an error message.
void RejectCallback(const base::string16& error);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698