summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/tools')
-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
-rw-r--r--chrome/tools/crash_service/crash_service.h10
4 files changed, 11 insertions, 11 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_
diff --git a/chrome/tools/crash_service/crash_service.h b/chrome/tools/crash_service/crash_service.h
index 3197eea..d074fec 100644
--- a/chrome/tools/crash_service/crash_service.h
+++ b/chrome/tools/crash_service/crash_service.h
@@ -1,8 +1,9 @@
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_TOOLS_CRASH_SERVICE__
-#define CHROME_TOOLS_CRASH_SERVICE__
+
+#ifndef CHROME_TOOLS_CRASH_SERVICE_CRASH_SERVICE_H_
+#define CHROME_TOOLS_CRASH_SERVICE_CRASH_SERVICE_H_
#include <string>
@@ -28,7 +29,7 @@ class CrashService {
public:
// The ctor takes a directory that needs to be writable and will create
// a subdirectory inside to keep logs, crashes and checkpoint files.
- CrashService(const std::wstring& report_dir);
+ explicit CrashService(const std::wstring& report_dir);
~CrashService();
// Starts servicing crash dumps. The command_line specifies various behaviors,
@@ -110,5 +111,4 @@ class CrashService {
DISALLOW_EVIL_CONSTRUCTORS(CrashService);
};
-
-#endif // CHROME_TOOLS_CRASH_SERVICE__
+#endif // CHROME_TOOLS_CRASH_SERVICE_CRASH_SERVICE_H_