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_HUNSPELL_DICTIONARY_H_ | 5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HUNSPELL_DICTIONARY_H_ |
6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HUNSPELL_DICTIONARY_H_ | 6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HUNSPELL_DICTIONARY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/files/file.h" | 11 #include "base/files/file.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "chrome/browser/spellchecker/spellcheck_dictionary.h" | 16 #include "components/spellcheck/browser/spellcheck_dictionary.h" |
17 #include "net/url_request/url_fetcher_delegate.h" | 17 #include "net/url_request/url_fetcher_delegate.h" |
18 | 18 |
19 class GURL; | 19 class GURL; |
20 class SpellcheckService; | 20 class SpellcheckService; |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 class URLFetcher; | 23 class URLFetcher; |
24 class URLRequestContextGetter; | 24 class URLRequestContextGetter; |
25 } // namespace net | 25 } // namespace net |
26 | 26 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 // Dictionary file path and descriptor. | 165 // Dictionary file path and descriptor. |
166 DictionaryFile dictionary_file_; | 166 DictionaryFile dictionary_file_; |
167 | 167 |
168 base::WeakPtrFactory<SpellcheckHunspellDictionary> weak_ptr_factory_; | 168 base::WeakPtrFactory<SpellcheckHunspellDictionary> weak_ptr_factory_; |
169 | 169 |
170 DISALLOW_COPY_AND_ASSIGN(SpellcheckHunspellDictionary); | 170 DISALLOW_COPY_AND_ASSIGN(SpellcheckHunspellDictionary); |
171 }; | 171 }; |
172 | 172 |
173 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HUNSPELL_DICTIONARY_H_ | 173 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HUNSPELL_DICTIONARY_H_ |
OLD | NEW |