Description[iOS] Expose TemplateURLPrepopulateData::GetCurrentCountryID()
Expose TemplateURLPrepopulateData::GetCurrentCountryID() to detect that the
user changed the device region in order to update the list of search engine
on iOS.
Note that when a region change is detected we remove all default search
engines except the one selected by the user and then insert all the new
engines. This is possible because user cannot customize search engines,
only select one of the default engines.
BUG=None
Committed: https://crrev.com/71c91039c5fb1a12f2f6920c1a63c0ae48a97c10
Cr-Commit-Position: refs/heads/master@{#330716}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Address pkasting comments #
Total comments: 4
Patch Set 3 : Address second round of comments #
Total comments: 4
Patch Set 4 : Second round of comments #Patch Set 5 : Address comments #
Messages
Total messages: 15 (3 generated)
|