summaryrefslogtreecommitdiffstats
path: root/chrome/tools/convert_dict
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 19:56:17 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 19:56:17 +0000
commit11f48572859aca238afeb436d2504c5ffab49f07 (patch)
tree1b31af349eb99a9e83716f5add3273b42bee41cf /chrome/tools/convert_dict
parentaf530ac147feb1b04446f529daa4cc4448f89b23 (diff)
downloadchromium_src-11f48572859aca238afeb436d2504c5ffab49f07.zip
chromium_src-11f48572859aca238afeb436d2504c5ffab49f07.tar.gz
chromium_src-11f48572859aca238afeb436d2504c5ffab49f07.tar.bz2
Fixes almost all of the rest of lint errors in the chrome/ directory (minus the really hard ones which will need actual review instead of rubber-stamping.)
Review URL: http://codereview.chromium.org/386026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/convert_dict')
-rw-r--r--chrome/tools/convert_dict/aff_reader.h4
-rw-r--r--chrome/tools/convert_dict/dic_reader.h2
-rw-r--r--chrome/tools/convert_dict/hunspell_reader.h6
3 files changed, 6 insertions, 6 deletions
diff --git a/chrome/tools/convert_dict/aff_reader.h b/chrome/tools/convert_dict/aff_reader.h
index 411bde8..d870d88 100644
--- a/chrome/tools/convert_dict/aff_reader.h
+++ b/chrome/tools/convert_dict/aff_reader.h
@@ -14,7 +14,7 @@ namespace convert_dict {
class AffReader {
public:
- AffReader(const std::string& filename);
+ explicit AffReader(const std::string& filename);
~AffReader();
bool Read();
@@ -60,7 +60,7 @@ class AffReader {
int AddAffixGroup(std::string* rule); // Returns the new affix group ID.
void AddAffix(std::string* rule); // SFX/PFX
void AddReplacement(std::string* rule);
- //void HandleFlag(std::string* rule);
+ // void HandleFlag(std::string* rule);
// Used to handle "other" commands. The "raw" just saves the line as-is.
// The "encoded" version converts the line to UTF-8 and saves it.
diff --git a/chrome/tools/convert_dict/dic_reader.h b/chrome/tools/convert_dict/dic_reader.h
index 22b20a8..efb06a7 100644
--- a/chrome/tools/convert_dict/dic_reader.h
+++ b/chrome/tools/convert_dict/dic_reader.h
@@ -23,7 +23,7 @@ class DicReader {
typedef std::pair<std::string, std::vector<int> > WordEntry;
typedef std::vector<WordEntry> WordList;
- DicReader(const std::string& filename);
+ explicit DicReader(const std::string& filename);
~DicReader();
// Non-numeric affixes will be added to the given AffReader and converted into
diff --git a/chrome/tools/convert_dict/hunspell_reader.h b/chrome/tools/convert_dict/hunspell_reader.h
index bc7c8c5..a19bba3 100644
--- a/chrome/tools/convert_dict/hunspell_reader.h
+++ b/chrome/tools/convert_dict/hunspell_reader.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_TOOLS_DIC_CONVERTER_HUNSPELL_READER_H__
-#define CHROME_TOOLS_DIC_CONVERTER_HUNSPELL_READER_H__
+#ifndef CHROME_TOOLS_CONVERT_DICT_HUNSPELL_READER_H_
+#define CHROME_TOOLS_CONVERT_DICT_HUNSPELL_READER_H_
#include <string>
@@ -22,4 +22,4 @@ void StripComment(std::string* line);
} // namespace convert_dict
-#endif // CHROME_TOOLS_DIC_CONVERTER_HUNSPELL_READER_H__
+#endif // CHROME_TOOLS_CONVERT_DICT_HUNSPELL_READER_H_