Media Galleries API Scanning: Give cached scan results if no user gesture.
commitc138296a8ff077a3aba17588abd18fed9bd7fba2
authortommycli@chromium.org <tommycli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 11 Feb 2014 21:42:55 +0000 (11 21:42 +0000)
committertommycli@chromium.org <tommycli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 11 Feb 2014 21:42:55 +0000 (11 21:42 +0000)
tree92af52e76ca3fc03ea64ae95513b2ec6a8db62a4
parent2cdd2a0ffdc7a530e2d5ca8fb00e202cf4796ab5
Media Galleries API Scanning: Give cached scan results if no user gesture.

BUG=161119

Review URL: https://codereview.chromium.org/141203004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250517 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/extensions/api/media_galleries/media_galleries_api.cc
chrome/browser/media_galleries/media_galleries_preferences.cc
chrome/browser/media_galleries/media_galleries_preferences.h
chrome/browser/media_galleries/media_scan_manager.cc
chrome/browser/media_galleries/media_scan_manager.h
chrome/browser/media_galleries/media_scan_manager_unittest.cc
chrome/common/pref_names.cc
chrome/common/pref_names.h