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

Side by Side Diff: chrome/browser/ui/webui/signin/md_user_manager_ui.cc

Issue 2024233003: MD User Manager: Refactors existing dialogs in User Manager into <user-manager-dialog> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-locked-test
Patch Set: Removed user_manager_dialog gyp target Created 4 years, 6 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 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 #include "chrome/browser/ui/webui/signin/md_user_manager_ui.h" 5 #include "chrome/browser/ui/webui/signin/md_user_manager_ui.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 source->AddResourcePath("strings.html", IDR_MD_USER_MANAGER_STRINGS_HTML); 81 source->AddResourcePath("strings.html", IDR_MD_USER_MANAGER_STRINGS_HTML);
82 source->AddResourcePath("supervised_user_create_confirm.html", 82 source->AddResourcePath("supervised_user_create_confirm.html",
83 IDR_MD_SUPERVISED_USER_CREATE_CONFIRM_HTML); 83 IDR_MD_SUPERVISED_USER_CREATE_CONFIRM_HTML);
84 source->AddResourcePath("supervised_user_create_confirm.js", 84 source->AddResourcePath("supervised_user_create_confirm.js",
85 IDR_MD_SUPERVISED_USER_CREATE_CONFIRM_JS); 85 IDR_MD_SUPERVISED_USER_CREATE_CONFIRM_JS);
86 source->AddResourcePath("supervised_user_learn_more.html", 86 source->AddResourcePath("supervised_user_learn_more.html",
87 IDR_MD_SUPERVISED_USER_LEARN_MORE_HTML); 87 IDR_MD_SUPERVISED_USER_LEARN_MORE_HTML);
88 source->AddResourcePath("supervised_user_learn_more.js", 88 source->AddResourcePath("supervised_user_learn_more.js",
89 IDR_MD_SUPERVISED_USER_LEARN_MORE_JS); 89 IDR_MD_SUPERVISED_USER_LEARN_MORE_JS);
90 source->AddResourcePath("user_manager.js", IDR_MD_USER_MANAGER_JS); 90 source->AddResourcePath("user_manager.js", IDR_MD_USER_MANAGER_JS);
91 source->AddResourcePath("user_manager_dialog.html",
92 IDR_MD_USER_MANAGER_DIALOG_HTML);
93 source->AddResourcePath("user_manager_dialog.js",
94 IDR_MD_USER_MANAGER_DIALOG_JS);
91 source->AddResourcePath("user_manager_pages.html", 95 source->AddResourcePath("user_manager_pages.html",
92 IDR_MD_USER_MANAGER_PAGES_HTML); 96 IDR_MD_USER_MANAGER_PAGES_HTML);
93 source->AddResourcePath("user_manager_pages.js", 97 source->AddResourcePath("user_manager_pages.js",
94 IDR_MD_USER_MANAGER_PAGES_JS); 98 IDR_MD_USER_MANAGER_PAGES_JS);
95 source->AddResourcePath("user_manager_styles.html", 99 source->AddResourcePath("user_manager_styles.html",
96 IDR_MD_USER_MANAGER_STYLES_HTML); 100 IDR_MD_USER_MANAGER_STYLES_HTML);
97 source->AddResourcePath("user_manager_tutorial.html", 101 source->AddResourcePath("user_manager_tutorial.html",
98 IDR_MD_USER_MANAGER_TUTORIAL_HTML); 102 IDR_MD_USER_MANAGER_TUTORIAL_HTML);
99 source->AddResourcePath("user_manager_tutorial.js", 103 source->AddResourcePath("user_manager_tutorial.js",
100 IDR_MD_USER_MANAGER_TUTORIAL_JS); 104 IDR_MD_USER_MANAGER_TUTORIAL_JS);
(...skipping 12 matching lines...) Expand all
113 #endif 117 #endif
114 const std::string& app_locale = g_browser_process->GetApplicationLocale(); 118 const std::string& app_locale = g_browser_process->GetApplicationLocale();
115 webui::SetLoadTimeDataDefaults(app_locale, localized_strings); 119 webui::SetLoadTimeDataDefaults(app_locale, localized_strings);
116 120
117 #if defined(GOOGLE_CHROME_BUILD) 121 #if defined(GOOGLE_CHROME_BUILD)
118 localized_strings->SetString("buildType", "chrome"); 122 localized_strings->SetString("buildType", "chrome");
119 #else 123 #else
120 localized_strings->SetString("buildType", "chromium"); 124 localized_strings->SetString("buildType", "chromium");
121 #endif 125 #endif
122 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698