Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: chrome/browser/chromeos/input_method/mock_input_method_delegate.cc

Issue 11466010: Decompose BrowserStateMonitor into two parts, simplifying unit tests and APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gypi ordering. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/input_method/mock_input_method_delegate.cc
diff --git a/chrome/browser/chromeos/input_method/mock_input_method_delegate.cc b/chrome/browser/chromeos/input_method/mock_input_method_delegate.cc
index 62111e66b74f52b7c1e39969734964127817da4b..7114fbe1a5f2578158ebdabde5b5e59d024e7721 100644
--- a/chrome/browser/chromeos/input_method/mock_input_method_delegate.cc
+++ b/chrome/browser/chromeos/input_method/mock_input_method_delegate.cc
@@ -8,26 +8,12 @@ namespace chromeos {
namespace input_method {
MockInputMethodDelegate::MockInputMethodDelegate()
- : active_locale_("en"),
- update_system_input_method_count_(0),
- update_user_input_method_count_(0) {
+ : active_locale_("en") {
}
MockInputMethodDelegate::~MockInputMethodDelegate() {
}
-void MockInputMethodDelegate::SetSystemInputMethod(
- const std::string& input_method) {
- ++update_system_input_method_count_;
- system_input_method_ = input_method;
-}
-
-void MockInputMethodDelegate::SetUserInputMethod(
- const std::string& input_method) {
- ++update_user_input_method_count_;
- user_input_method_ = input_method;
-}
-
std::string MockInputMethodDelegate::GetHardwareKeyboardLayout() const {
return hardware_keyboard_layout_;
}

Powered by Google App Engine
This is Rietveld 408576698