[omnibox][search_engines] Add destination URL for starter pack engines.

Previously, pressing enter on a starter pack suggestion would navigate
to its search_url ("chrome://bookmarks?q={searchTerms}").  This CL adds
an additional value to TemplateURLStarterPackData to specify its
destination_url (just "chrome://bookmarks").

Bug: 1287313
Change-Id: I6ec52540fcc544b15502e70a51a2d5cdb61e5f11
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3665242
Reviewed-by: Orin Jaworski <[email protected]>
Commit-Queue: Angela Yoeurng <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1009877}
diff --git a/components/search_engines/template_url_starter_pack_data.h b/components/search_engines/template_url_starter_pack_data.h
index a7d3cd2..db019de 100644
--- a/components/search_engines/template_url_starter_pack_data.h
+++ b/components/search_engines/template_url_starter_pack_data.h
@@ -6,6 +6,7 @@
 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_STARTER_PACK_DATA_H_
 
 #include <memory>
+#include <string>
 #include <vector>
 
 #include "components/search_engines/search_engine_type.h"
@@ -32,6 +33,7 @@
   int keyword_message_id;
   const char* const favicon_url;
   const char* const search_url;
+  const char* const destination_url;
   const StarterPackID id;
   const SearchEngineType type;
 };
@@ -49,6 +51,10 @@
 // Returns a vector of all starter pack engines, in TemplateURLData format.
 std::vector<std::unique_ptr<TemplateURLData>> GetStarterPackEngines();
 
+// Returns the destination url for the starter pack engine associated with a
+// given starter pack id.
+std::u16string GetDestinationUrlForStarterPackID(int id);
+
 }  // namespace TemplateURLStarterPackData
 
 #endif  // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_STARTER_PACK_DATA_H_