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

Side by Side Diff: ui/base/ime/chromeos/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: addressed mukai@'s comments. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "base/logging.h" 5 #include "base/logging.h"
6 #include "chromeos/ime/component_extension_ime_manager.h" 6 #include "ui/base/ime/chromeos/component_extension_ime_manager.h"
7 #include "chromeos/ime/extension_ime_util.h" 7 #include "ui/base/ime/chromeos/extension_ime_util.h"
8 #include "chromeos/ime/mock_component_extension_ime_manager_delegate.h" 8 #include "ui/base/ime/chromeos/mock_component_extension_ime_manager_delegate.h"
Yuki 2014/11/20 09:23:03 Put the corresponding header first with an empty l
Shu Chen 2014/11/20 14:32:26 Done.
9 9
10 namespace chromeos { 10 namespace chromeos {
11 namespace input_method { 11 namespace input_method {
12 12
13 MockComponentExtIMEManagerDelegate::MockComponentExtIMEManagerDelegate() 13 MockComponentExtIMEManagerDelegate::MockComponentExtIMEManagerDelegate()
14 : load_call_count_(0), 14 : load_call_count_(0),
15 unload_call_count_(0) { 15 unload_call_count_(0) {
16 } 16 }
17 17
18 MockComponentExtIMEManagerDelegate::~MockComponentExtIMEManagerDelegate() { 18 MockComponentExtIMEManagerDelegate::~MockComponentExtIMEManagerDelegate() {
(...skipping 14 matching lines...) Expand all
33 33
34 void MockComponentExtIMEManagerDelegate::Unload(Profile* profile, 34 void MockComponentExtIMEManagerDelegate::Unload(Profile* profile,
35 const std::string& extension_id, 35 const std::string& extension_id,
36 const base::FilePath& path) { 36 const base::FilePath& path) {
37 unload_call_count_++; 37 unload_call_count_++;
38 last_unloaded_extension_id_ = extension_id; 38 last_unloaded_extension_id_ = extension_id;
39 } 39 }
40 40
41 } // namespace input_method 41 } // namespace input_method
42 } // namespace chromeos 42 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698