[Hotword] Implement audio history pref accessing and setting.
This CL adds new functionality to the web history service to access audio history as well since accessing audio history uses the same underlying mechanism as standard web history. This CL also removes the onChange observer for the pref so that it is entirely handled by the handler. There is no longer a need for it since the only access to the pref is through this handler (i.e., there is no more settings checkbox). Note: The completion callbacks in the hotword_audio_history_handler will probably be updated once some additional extension apis have been added. We may eventually shift to a newer technology but it is appearing more likely it might not be ready when we need it. However, we will continue to use this method for the accessing of the audio history pref for quite some time (it's one of the approved methods) even once the setting of the pref switches to the newer model. BUG=426640 Review URL: https://codereview.chromium.org/687803004 Cr-Commit-Position: refs/heads/master@{#304994}
Showing
This diff is collapsed.
Please register or sign in to comment