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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "base/move.h" | 15 #include "base/move.h" |
15 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
16 #include "chrome/browser/spellchecker/spellcheck_dictionary.h" | 17 #include "chrome/browser/spellchecker/spellcheck_dictionary.h" |
17 #include "net/url_request/url_fetcher_delegate.h" | 18 #include "net/url_request/url_fetcher_delegate.h" |
18 | 19 |
19 class GURL; | 20 class GURL; |
20 class SpellcheckService; | 21 class SpellcheckService; |
21 | 22 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 163 |
163 // Dictionary file path and descriptor. | 164 // Dictionary file path and descriptor. |
164 DictionaryFile dictionary_file_; | 165 DictionaryFile dictionary_file_; |
165 | 166 |
166 base::WeakPtrFactory<SpellcheckHunspellDictionary> weak_ptr_factory_; | 167 base::WeakPtrFactory<SpellcheckHunspellDictionary> weak_ptr_factory_; |
167 | 168 |
168 DISALLOW_COPY_AND_ASSIGN(SpellcheckHunspellDictionary); | 169 DISALLOW_COPY_AND_ASSIGN(SpellcheckHunspellDictionary); |
169 }; | 170 }; |
170 | 171 |
171 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HUNSPELL_DICTIONARY_H_ | 172 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HUNSPELL_DICTIONARY_H_ |
OLD | NEW |