| Index: chrome/browser/ui/webui/local_state/local_state_ui.h
|
| diff --git a/chrome/browser/ui/webui/local_state/local_state_ui.h b/chrome/browser/ui/webui/local_state/local_state_ui.h
|
| index e845dae0958c9da4541f153760800e440588fe00..0a4c345c4264c561942c118b3233418adf231ef3 100644
|
| --- a/chrome/browser/ui/webui/local_state/local_state_ui.h
|
| +++ b/chrome/browser/ui/webui/local_state/local_state_ui.h
|
| @@ -5,9 +5,26 @@
|
| #ifndef CHROME_BROWSER_UI_WEBUI_LOCAL_STATE_LOCAL_STATE_UI_H_
|
| #define CHROME_BROWSER_UI_WEBUI_LOCAL_STATE_LOCAL_STATE_UI_H_
|
|
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| #include "base/macros.h"
|
| #include "content/public/browser/web_ui_controller.h"
|
|
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| +// Namespace for exposing the method for unit tests.
|
| +namespace internal {
|
| +
|
| +// Removes elements from |prefs| where the key does not match any of the
|
| +// prefixes in |valid_prefixes|.
|
| +void FilterPrefs(const std::vector<std::string>& valid_prefixes,
|
| + base::DictionaryValue* prefs);
|
| +
|
| +} // namespace internal
|
| +
|
| // Controller for chrome://local-state/ page.
|
| class LocalStateUI : public content::WebUIController {
|
| public:
|
|
|