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

Unified Diff: chrome/browser/ui/webui/options/options_ui.cc

Issue 2313103002: Added uma for pin unlock set up. (Closed)
Patch Set: Moved resource to browser options. Created 4 years, 3 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
Index: chrome/browser/ui/webui/options/options_ui.cc
diff --git a/chrome/browser/ui/webui/options/options_ui.cc b/chrome/browser/ui/webui/options/options_ui.cc
index 4a0dc71f3e1d218cd6221d0b51ea04343472ffda..94fa40214fb5af817a6e2c8e9ed0a2550a8e499a 100644
--- a/chrome/browser/ui/webui/options/options_ui.cc
+++ b/chrome/browser/ui/webui/options/options_ui.cc
@@ -128,6 +128,10 @@ constexpr char kLockStateBehaviorHTMLPath[] =
"people_page/lock_state_behavior.html";
constexpr char kLockStateBehaviorJSPath[] =
"people_page/lock_state_behavior.js";
+constexpr char kLockScreenConstantsHTMLPath[] =
jdufault 2016/09/21 19:01:46 These should go before the kLockStateBehavior entr
sammiequon 2016/09/22 00:55:59 Done.
+ "people_page/lock_screen_constants.html";
+constexpr char kLockScreenConstantsJSPath[] =
+ "people_page/lock_screen_constants.js";
constexpr char kLockScreenHTMLPath[] = "people_page/lock_screen.html";
constexpr char kLockScreenJSPath[] = "people_page/lock_screen.js";
constexpr char kSetupPinHTMLPath[] = "people_page/setup_pin_dialog.html";
@@ -261,6 +265,10 @@ void OptionsUIHTMLSource::CreateDataSourceMap() {
IDR_OPTIONS_LOCK_STATE_BEHAVIOR_HTML;
path_to_idr_map_[kLockStateBehaviorJSPath] =
IDR_OPTIONS_LOCK_STATE_BEHAVIOR_JS;
+ path_to_idr_map_[kLockScreenConstantsHTMLPath] =
jdufault 2016/09/21 19:01:46 These should go before kLockStateBehavior entries
sammiequon 2016/09/22 00:55:59 Done.
+ IDR_OPTIONS_LOCK_SCREEN_CONSTANTS_HTML;
+ path_to_idr_map_[kLockScreenConstantsJSPath] =
+ IDR_OPTIONS_LOCK_SCREEN_CONSTANTS_JS;
path_to_idr_map_[kLockScreenHTMLPath] = IDR_OPTIONS_LOCK_SCREEN_HTML;
path_to_idr_map_[kLockScreenJSPath] = IDR_OPTIONS_LOCK_SCREEN_JS;
path_to_idr_map_[kSetupPinHTMLPath] = IDR_OPTIONS_SETUP_PIN_DIALOG_HTML;

Powered by Google App Engine
This is Rietveld 408576698