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 #include "chrome/browser/chromeos/extensions/input_method_api.h" | 5 #include "chrome/browser/chromeos/extensions/input_method_api.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <set> | 9 #include <set> |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/command_line.h" | 12 #include "base/command_line.h" |
11 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
12 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "build/build_config.h" |
13 #include "chrome/browser/chromeos/extensions/dictionary_event_router.h" | 16 #include "chrome/browser/chromeos/extensions/dictionary_event_router.h" |
14 #include "chrome/browser/chromeos/extensions/input_method_event_router.h" | 17 #include "chrome/browser/chromeos/extensions/input_method_event_router.h" |
15 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 18 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
16 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" | 19 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" |
17 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 20 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
18 #include "chrome/browser/spellchecker/spellcheck_service.h" | 21 #include "chrome/browser/spellchecker/spellcheck_service.h" |
19 #include "chrome/browser/sync/profile_sync_service_factory.h" | 22 #include "chrome/browser/sync/profile_sync_service_factory.h" |
20 #include "chromeos/chromeos_switches.h" | 23 #include "chromeos/chromeos_switches.h" |
21 #include "components/browser_sync/browser/profile_sync_service.h" | 24 #include "components/browser_sync/browser/profile_sync_service.h" |
22 #include "extensions/browser/extension_function_registry.h" | 25 #include "extensions/browser/extension_function_registry.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 static base::LazyInstance<BrowserContextKeyedAPIFactory<InputMethodAPI> > | 240 static base::LazyInstance<BrowserContextKeyedAPIFactory<InputMethodAPI> > |
238 g_factory = LAZY_INSTANCE_INITIALIZER; | 241 g_factory = LAZY_INSTANCE_INITIALIZER; |
239 | 242 |
240 // static | 243 // static |
241 BrowserContextKeyedAPIFactory<InputMethodAPI>* | 244 BrowserContextKeyedAPIFactory<InputMethodAPI>* |
242 InputMethodAPI::GetFactoryInstance() { | 245 InputMethodAPI::GetFactoryInstance() { |
243 return g_factory.Pointer(); | 246 return g_factory.Pointer(); |
244 } | 247 } |
245 | 248 |
246 } // namespace extensions | 249 } // namespace extensions |
OLD | NEW |