Xi Han | 349162b | 2018-10-26 12:44:23 | [diff] [blame] | 1 | // Copyright 2018 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_BROWSER_CHROME_RESOURCE_BUNDLE_HELPER_H_ |
| 6 | #define CHROME_BROWSER_CHROME_RESOURCE_BUNDLE_HELPER_H_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | class ChromeFeatureListCreator; |
| 11 | |
| 12 | // Loads the local state, and returns the application locale. An empty return |
| 13 | // value indicates the ResouceBundle couldn't be loaded. |
| 14 | std::string LoadLocalState( |
| 15 | ChromeFeatureListCreator* chrome_feature_list_creator, |
| 16 | bool is_running_tests); |
| 17 | |
| 18 | #endif // CHROME_BROWSER_CHROME_RESOURCE_BUNDLE_HELPER_H_ |