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_DICTIONARY_H_ | 5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_DICTIONARY_H_ |
6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_DICTIONARY_H_ | 6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_DICTIONARY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 | 9 |
10 // Defines a dictionary for use in the spellchecker system and provides access | 10 // Defines a dictionary for use in the spellchecker system and provides access |
11 // to words within the dictionary. | 11 // to words within the dictionary. |
12 class SpellcheckDictionary { | 12 class SpellcheckDictionary { |
13 public: | 13 public: |
14 SpellcheckDictionary() {} | 14 SpellcheckDictionary() {} |
15 virtual ~SpellcheckDictionary() {} | 15 virtual ~SpellcheckDictionary() {} |
16 | 16 |
17 virtual void Load() = 0; | 17 virtual void Load() = 0; |
18 | 18 |
19 protected: | 19 protected: |
20 DISALLOW_COPY_AND_ASSIGN(SpellcheckDictionary); | 20 DISALLOW_COPY_AND_ASSIGN(SpellcheckDictionary); |
21 }; | 21 }; |
22 | 22 |
23 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_DICTIONARY_H_ | 23 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_DICTIONARY_H_ |
OLD | NEW |