| 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 "chrome/browser/spellchecker/spellcheck_dictionary.h" | 8 #include "chrome/browser/spellchecker/spellcheck_dictionary.h" |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "base/platform_file.h" | 14 #include "base/platform_file.h" |
| 15 #include "net/url_request/url_fetcher_delegate.h" | 15 #include "net/url_request/url_fetcher_delegate.h" |
| 16 | 16 |
| 17 class GURL; | 17 class GURL; |
| 18 class Profile; | |
| 19 class SpellcheckService; | 18 class SpellcheckService; |
| 20 struct DictionaryFile; | 19 struct DictionaryFile; |
| 21 | 20 |
| 22 namespace net { | 21 namespace net { |
| 23 class URLFetcher; | 22 class URLFetcher; |
| 24 class URLRequestContextGetter; | 23 class URLRequestContextGetter; |
| 25 } // namespace net | 24 } // namespace net |
| 26 | 25 |
| 27 // Defines the browser-side hunspell dictionary and provides access to it. | 26 // Defines the browser-side hunspell dictionary and provides access to it. |
| 28 class SpellcheckHunspellDictionary | 27 class SpellcheckHunspellDictionary |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // Status of the dictionary download. | 133 // Status of the dictionary download. |
| 135 DownloadStatus download_status_; | 134 DownloadStatus download_status_; |
| 136 | 135 |
| 137 // Dictionary file path and descriptor. | 136 // Dictionary file path and descriptor. |
| 138 scoped_ptr<DictionaryFile> dictionary_file_; | 137 scoped_ptr<DictionaryFile> dictionary_file_; |
| 139 | 138 |
| 140 DISALLOW_COPY_AND_ASSIGN(SpellcheckHunspellDictionary); | 139 DISALLOW_COPY_AND_ASSIGN(SpellcheckHunspellDictionary); |
| 141 }; | 140 }; |
| 142 | 141 |
| 143 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HUNSPELL_DICTIONARY_H_ | 142 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HUNSPELL_DICTIONARY_H_ |
| OLD | NEW |