Partial componentization of //chrome/browser/history
Move thumbnail_database.{cc,h} to //components/history/core/browser
as they don't have dependency on //chrome or //content and add a new
depenency on //third_party/sqlite from the history component.
Move url_utils.{cc,h}, visit_filter.{cc,h}, visit_tracker.{cc,h},
visitsegment_database.{cc,h}, in_memory_url_index_types.{cc,h} and
top_sites_cache.{cc,h} to //components/history/core/browser as they
are leaf files that don't have dependency on //chrome or //content.
Move visit_database.{cc,h} to //components/history/core/browser after
fixing the #include to use "url/url_constants.h" to get the constants
defined in the url namespace.
Move in_memory_url_index_cache.proto since it has no dependencies and
add the gyp target history_core_browser_proto and gn target
//components/history/core/browser:proto.
All files were moved using tools/git/move_source_files.py and then the
build system files (gyp and gn) were manually editted.
Remove obsolete #includes and fix missing #includes.
BUG=390953, 370850
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/
831643003
Cr-Commit-Position: refs/heads/master@{#309765}