| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file declares extension specific l10n utils. | 5 // This file declares extension specific l10n utils. |
| 6 | 6 |
| 7 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_L10N_UTIL_H_ | 7 #ifndef EXTENSIONS_COMMON_EXTENSION_L10N_UTIL_H_ |
| 8 #define CHROME_COMMON_EXTENSIONS_EXTENSION_L10N_UTIL_H_ | 8 #define EXTENSIONS_COMMON_EXTENSION_L10N_UTIL_H_ |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class DictionaryValue; | 15 class DictionaryValue; |
| 16 class FilePath; | 16 class FilePath; |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 // Set temporary locale for the current scope | 122 // Set temporary locale for the current scope |
| 123 explicit ScopedLocaleForTest(const std::string& locale); | 123 explicit ScopedLocaleForTest(const std::string& locale); |
| 124 | 124 |
| 125 ~ScopedLocaleForTest(); | 125 ~ScopedLocaleForTest(); |
| 126 | 126 |
| 127 private: | 127 private: |
| 128 std::string locale_; // The current locale at ctor time. | 128 std::string locale_; // The current locale at ctor time. |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 | |
| 132 } // namespace extension_l10n_util | 131 } // namespace extension_l10n_util |
| 133 | 132 |
| 134 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_L10N_UTIL_H_ | 133 #endif // EXTENSIONS_COMMON_EXTENSION_L10N_UTIL_H_ |
| OLD | NEW |