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

Unified Diff: chromeos/ime/mock_component_extension_ime_manager_delegate.cc

Issue 727143002: Moves code from chromeos/ime to ui/base/ime/chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit. Created 6 years, 1 month 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
« no previous file with comments | « chromeos/ime/mock_component_extension_ime_manager_delegate.h ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/mock_component_extension_ime_manager_delegate.cc
diff --git a/chromeos/ime/mock_component_extension_ime_manager_delegate.cc b/chromeos/ime/mock_component_extension_ime_manager_delegate.cc
deleted file mode 100644
index f7914639119572842ee5267d471ea6a34d679db3..0000000000000000000000000000000000000000
--- a/chromeos/ime/mock_component_extension_ime_manager_delegate.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/logging.h"
-#include "chromeos/ime/component_extension_ime_manager.h"
-#include "chromeos/ime/extension_ime_util.h"
-#include "chromeos/ime/mock_component_extension_ime_manager_delegate.h"
-
-namespace chromeos {
-namespace input_method {
-
-MockComponentExtIMEManagerDelegate::MockComponentExtIMEManagerDelegate()
- : load_call_count_(0),
- unload_call_count_(0) {
-}
-
-MockComponentExtIMEManagerDelegate::~MockComponentExtIMEManagerDelegate() {
-}
-
-std::vector<ComponentExtensionIME>
- MockComponentExtIMEManagerDelegate::ListIME() {
- return ime_list_;
-}
-
-void MockComponentExtIMEManagerDelegate::Load(Profile* profile,
- const std::string& extension_id,
- const std::string& manifest,
- const base::FilePath& path) {
- last_loaded_extension_id_ = extension_id;
- load_call_count_++;
-}
-
-void MockComponentExtIMEManagerDelegate::Unload(Profile* profile,
- const std::string& extension_id,
- const base::FilePath& path) {
- unload_call_count_++;
- last_unloaded_extension_id_ = extension_id;
-}
-
-} // namespace input_method
-} // namespace chromeos
« no previous file with comments | « chromeos/ime/mock_component_extension_ime_manager_delegate.h ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698