| 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 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 12 #include "ui/base/ime/chromeos/input_method_manager.h" | 12 #include "ui/base/ime/chromeos/input_method_manager.h" |
| 13 | 13 |
| 14 class PrefService; | 14 class PrefService; |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 namespace input_method { | 17 namespace input_method { |
| 18 | 18 |
| 19 // Observes input method and session state changes, and persists input method | 19 // Observes input method and session state changes, and persists input method |
| 20 // changes to the BrowserProcess local state or to the user preferences, | 20 // changes to the BrowserProcess local state or to the user preferences, |
| 21 // according to the session state. | 21 // according to the session state. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 void SetUserLRUInputMethodPreferenceForTesting(const std::string& username, | 45 void SetUserLRUInputMethodPreferenceForTesting(const std::string& username, |
| 46 const std::string& input_method, | 46 const std::string& input_method, |
| 47 PrefService* local_state); | 47 PrefService* local_state); |
| 48 | 48 |
| 49 } // namespace input_method | 49 } // namespace input_method |
| 50 } // namespace chromeos | 50 } // namespace chromeos |
| 51 | 51 |
| 52 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_ | 52 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_ |
| OLD | NEW |