Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: chrome/renderer/spellchecker/custom_dictionary_engine.h

Issue 16281006: Use a direct include of strings headers in chrome/renderer/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/security_filter_peer.cc ('k') | chrome/renderer/spellchecker/hunspell_engine.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_RENDERER_SPELLCHECKER_CUSTOM_DICTIONARY_ENGINE_H_ 5 #ifndef CHROME_RENDERER_SPELLCHECKER_CUSTOM_DICTIONARY_ENGINE_H_
6 #define CHROME_RENDERER_SPELLCHECKER_CUSTOM_DICTIONARY_ENGINE_H_ 6 #define CHROME_RENDERER_SPELLCHECKER_CUSTOM_DICTIONARY_ENGINE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/string16.h" 12 #include "base/strings/string16.h"
13 13
14 // Custom spellcheck dictionary. Words in this dictionary are always correctly 14 // Custom spellcheck dictionary. Words in this dictionary are always correctly
15 // spelled. Words that are not in this dictionary may or may not be correctly 15 // spelled. Words that are not in this dictionary may or may not be correctly
16 // spelled. 16 // spelled.
17 class CustomDictionaryEngine { 17 class CustomDictionaryEngine {
18 public: 18 public:
19 CustomDictionaryEngine(); 19 CustomDictionaryEngine();
20 ~CustomDictionaryEngine(); 20 ~CustomDictionaryEngine();
21 21
22 // Initialize the custom dictionary engine. 22 // Initialize the custom dictionary engine.
(...skipping 12 matching lines...) Expand all
35 const std::vector<std::string>& words_removed); 35 const std::vector<std::string>& words_removed);
36 36
37 private: 37 private:
38 // Correctly spelled words. 38 // Correctly spelled words.
39 std::set<string16> dictionary_; 39 std::set<string16> dictionary_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(CustomDictionaryEngine); 41 DISALLOW_COPY_AND_ASSIGN(CustomDictionaryEngine);
42 }; 42 };
43 43
44 #endif // CHROME_RENDERER_SPELLCHECKER_CUSTOM_DICTIONARY_ENGINE_H_ 44 #endif // CHROME_RENDERER_SPELLCHECKER_CUSTOM_DICTIONARY_ENGINE_H_
OLDNEW
« no previous file with comments | « chrome/renderer/security_filter_peer.cc ('k') | chrome/renderer/spellchecker/hunspell_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698