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_CUSTOM_DICTIONARY_H_ | 5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_CUSTOM_DICTIONARY_H_ |
6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_CUSTOM_DICTIONARY_H_ | 6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_CUSTOM_DICTIONARY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/cancelable_callback.h" | 12 #include "base/cancelable_callback.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "components/spellcheck/browser/spellcheck_dictionary.h" | 17 #include "components/spellcheck/browser/spellcheck_dictionary.h" |
18 #include "components/sync/api/sync_data.h" | 18 #include "components/sync/model/sync_data.h" |
19 #include "components/sync/api/sync_error.h" | 19 #include "components/sync/model/sync_error.h" |
20 #include "components/sync/api/sync_merge_result.h" | 20 #include "components/sync/model/sync_merge_result.h" |
21 #include "components/sync/api/syncable_service.h" | 21 #include "components/sync/model/syncable_service.h" |
22 | 22 |
23 namespace syncer { | 23 namespace syncer { |
24 class SyncErrorFactory; | 24 class SyncErrorFactory; |
25 class SyncChangeProcessor; | 25 class SyncChangeProcessor; |
26 } | 26 } |
27 | 27 |
28 namespace tracked_objects { | 28 namespace tracked_objects { |
29 class Location; | 29 class Location; |
30 } | 30 } |
31 | 31 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 // A post-startup task to fix the invalid custom dictionary file. | 217 // A post-startup task to fix the invalid custom dictionary file. |
218 base::CancelableClosure fix_invalid_file_; | 218 base::CancelableClosure fix_invalid_file_; |
219 | 219 |
220 // Used to create weak pointers for an instance of this class. | 220 // Used to create weak pointers for an instance of this class. |
221 base::WeakPtrFactory<SpellcheckCustomDictionary> weak_ptr_factory_; | 221 base::WeakPtrFactory<SpellcheckCustomDictionary> weak_ptr_factory_; |
222 | 222 |
223 DISALLOW_COPY_AND_ASSIGN(SpellcheckCustomDictionary); | 223 DISALLOW_COPY_AND_ASSIGN(SpellcheckCustomDictionary); |
224 }; | 224 }; |
225 | 225 |
226 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_CUSTOM_DICTIONARY_H_ | 226 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_CUSTOM_DICTIONARY_H_ |
OLD | NEW |