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 "base/compiler_specific.h" |
8 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
9 #include "base/compiler_specific.h" | |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/prefs/public/pref_change_registrar.h" | 12 #include "base/prefs/pref_change_registrar.h" |
13 #include "chrome/browser/profiles/profile_keyed_service.h" | 13 #include "chrome/browser/profiles/profile_keyed_service.h" |
14 #include "chrome/browser/spellchecker/spellcheck_custom_dictionary.h" | 14 #include "chrome/browser/spellchecker/spellcheck_custom_dictionary.h" |
15 #include "chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h" | 15 #include "chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h" |
16 #include "chrome/common/spellcheck_common.h" | 16 #include "chrome/common/spellcheck_common.h" |
17 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
18 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
19 | 19 |
20 class Profile; | 20 class Profile; |
21 class SpellCheckHostMetrics; | 21 class SpellCheckHostMetrics; |
22 | 22 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 scoped_ptr<SpellcheckCustomDictionary> custom_dictionary_; | 135 scoped_ptr<SpellcheckCustomDictionary> custom_dictionary_; |
136 | 136 |
137 scoped_ptr<SpellcheckHunspellDictionary> hunspell_dictionary_; | 137 scoped_ptr<SpellcheckHunspellDictionary> hunspell_dictionary_; |
138 | 138 |
139 base::WeakPtrFactory<SpellcheckService> weak_ptr_factory_; | 139 base::WeakPtrFactory<SpellcheckService> weak_ptr_factory_; |
140 | 140 |
141 DISALLOW_COPY_AND_ASSIGN(SpellcheckService); | 141 DISALLOW_COPY_AND_ASSIGN(SpellcheckService); |
142 }; | 142 }; |
143 | 143 |
144 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_SERVICE_H_ | 144 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_SERVICE_H_ |
OLD | NEW |