Index: chrome/browser/chromeos/input_method/input_method_engine.h |
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.h b/chrome/browser/chromeos/input_method/input_method_engine.h |
index d841a57164653e31f677a597721c505b03d483c4..22a800604b0c0179ee3343962beac25d0feb1dd2 100644 |
--- a/chrome/browser/chromeos/input_method/input_method_engine.h |
+++ b/chrome/browser/chromeos/input_method/input_method_engine.h |
@@ -13,6 +13,8 @@ |
#include "chromeos/ime/input_method_descriptor.h" |
#include "url/gurl.h" |
+class Profile; |
+ |
namespace ui { |
class CandidateWindow; |
class KeyEvent; |
@@ -38,7 +40,8 @@ class InputMethodEngine : public InputMethodEngineInterface { |
virtual ~InputMethodEngine(); |
- void Initialize(scoped_ptr<InputMethodEngineInterface::Observer> observer, |
+ void Initialize(Profile* profile, |
+ scoped_ptr<InputMethodEngineInterface::Observer> observer, |
const char* engine_name, |
const char* extension_id, |
const char* engine_id, |
@@ -162,6 +165,9 @@ class InputMethodEngine : public InputMethodEngineInterface { |
// The start & end time of using this input method. This is for UMA. |
base::Time start_time_; |
base::Time end_time_; |
+ |
+ // User profile that owns this method. |
+ Profile* profile_; |
}; |
} // namespace chromeos |