Logic for showing contextual nudges.

Bug: 1034168
Change-Id: I8193b727e1635b0f5d368c74157f1ca0f1dd8197
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2025887
Commit-Queue: Yulun Wu <[email protected]>
Reviewed-by: Ahmed Fakhry <[email protected]>
Reviewed-by: Manu Cornet <[email protected]>
Reviewed-by: Xiaoqian Dai <[email protected]>
Reviewed-by: Toni Baržić <[email protected]>
Cr-Commit-Position: refs/heads/master@{#740385}
diff --git a/ash/ash_prefs.cc b/ash/ash_prefs.cc
index ac007e60..e518ecc 100644
--- a/ash/ash_prefs.cc
+++ b/ash/ash_prefs.cc
@@ -14,6 +14,7 @@
 #include "ash/magnifier/docked_magnifier_controller_impl.h"
 #include "ash/media/media_controller_impl.h"
 #include "ash/public/cpp/ash_pref_names.h"
+#include "ash/shelf/contextual_tooltip.h"
 #include "ash/shelf/shelf_controller.h"
 #include "ash/system/bluetooth/bluetooth_power_controller.h"
 #include "ash/system/caps_lock_notification_controller.h"
@@ -40,6 +41,7 @@
   AssistantController::RegisterProfilePrefs(registry);
   BluetoothPowerController::RegisterProfilePrefs(registry);
   CapsLockNotificationController::RegisterProfilePrefs(registry, for_test);
+  contextual_tooltip::RegisterProfilePrefs(registry);
   DockedMagnifierControllerImpl::RegisterProfilePrefs(registry);
   LoginScreenController::RegisterProfilePrefs(registry, for_test);
   LogoutButtonTray::RegisterProfilePrefs(registry);