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 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_SERVICE_H_ |
6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_SERVICE_H_ | 6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_SERVICE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
12 #include "base/macros.h" | 14 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
15 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
16 #include "base/prefs/pref_change_registrar.h" | 18 #include "base/prefs/pref_change_registrar.h" |
| 19 #include "build/build_config.h" |
17 #include "chrome/browser/spellchecker/spellcheck_custom_dictionary.h" | 20 #include "chrome/browser/spellchecker/spellcheck_custom_dictionary.h" |
18 #include "chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h" | 21 #include "chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h" |
19 #include "components/keyed_service/core/keyed_service.h" | 22 #include "components/keyed_service/core/keyed_service.h" |
20 #include "content/public/browser/notification_observer.h" | 23 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 24 #include "content/public/browser/notification_registrar.h" |
22 | 25 |
23 class SpellCheckHostMetrics; | 26 class SpellCheckHostMetrics; |
24 | 27 |
25 namespace base { | 28 namespace base { |
26 class WaitableEvent; | 29 class WaitableEvent; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 ScopedVector<SpellcheckHunspellDictionary> hunspell_dictionaries_; | 170 ScopedVector<SpellcheckHunspellDictionary> hunspell_dictionaries_; |
168 | 171 |
169 scoped_ptr<spellcheck::FeedbackSender> feedback_sender_; | 172 scoped_ptr<spellcheck::FeedbackSender> feedback_sender_; |
170 | 173 |
171 base::WeakPtrFactory<SpellcheckService> weak_ptr_factory_; | 174 base::WeakPtrFactory<SpellcheckService> weak_ptr_factory_; |
172 | 175 |
173 DISALLOW_COPY_AND_ASSIGN(SpellcheckService); | 176 DISALLOW_COPY_AND_ASSIGN(SpellcheckService); |
174 }; | 177 }; |
175 | 178 |
176 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_SERVICE_H_ | 179 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_SERVICE_H_ |
OLD | NEW |