[SendTabToSelf] Limit initial "Send" animation to once per profile

Show the initial "Send" animation once per profile instead of once per
window.

Bug: 1013258
Change-Id: I2a041e597d51a1acdd3a0fdd156627c34935390f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020535
Reviewed-by: Jeffrey Cohen <[email protected]>
Reviewed-by: Dominic Battré <[email protected]>
Commit-Queue: Kristi Park <[email protected]>
Cr-Commit-Position: refs/heads/master@{#735526}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index f27eb3e..f3444b2 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -75,6 +75,7 @@
 #include "chrome/browser/ui/network_profile_bubble.h"
 #include "chrome/browser/ui/prefs/prefs_tab_helper.h"
 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
+#include "chrome/browser/ui/send_tab_to_self/send_tab_to_self_bubble_controller.h"
 #include "chrome/browser/ui/tabs/pinned_tab_codec.h"
 #include "chrome/browser/ui/webui/flags_ui.h"
 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
@@ -946,6 +947,8 @@
   PromoService::RegisterProfilePrefs(registry);
   SearchSuggestService::RegisterProfilePrefs(registry);
   settings::SettingsUI::RegisterProfilePrefs(registry);
+  send_tab_to_self::SendTabToSelfBubbleController::RegisterProfilePrefs(
+      registry);
   signin::RegisterProfilePrefs(registry);
   StartupBrowserCreator::RegisterProfilePrefs(registry);
   UnifiedAutoplayConfig::RegisterProfilePrefs(registry);