summaryrefslogtreecommitdiffstats
path: root/chrome/browser/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/parsers')
-rw-r--r--chrome/browser/parsers/metadata_parser.h8
-rw-r--r--chrome/browser/parsers/metadata_parser_factory.h6
-rw-r--r--chrome/browser/parsers/metadata_parser_filebase.h10
-rw-r--r--chrome/browser/parsers/metadata_parser_jpeg.h8
-rw-r--r--chrome/browser/parsers/metadata_parser_jpeg_factory.h6
-rw-r--r--chrome/browser/parsers/metadata_parser_manager.h6
6 files changed, 22 insertions, 22 deletions
diff --git a/chrome/browser/parsers/metadata_parser.h b/chrome/browser/parsers/metadata_parser.h
index 97a4e85..65210fa 100644
--- a/chrome/browser/parsers/metadata_parser.h
+++ b/chrome/browser/parsers/metadata_parser.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_BROWSER_METADATA_PARSER_H_
-#define CHROME_BROWSER_METADATA_PARSER_H_
+#ifndef CHROME_BROWSER_PARSERS_METADATA_PARSER_H_
+#define CHROME_BROWSER_PARSERS_METADATA_PARSER_H_
#include <string>
@@ -28,7 +28,7 @@ class MetadataPropertyIterator {
// Represents a single instance of parsing on a particular file.
class MetadataParser {
public:
- MetadataParser(const FilePath& path) {}
+ explicit MetadataParser(const FilePath& path) {}
static const char* kPropertyType;
static const char* kPropertyFilesize;
@@ -45,4 +45,4 @@ class MetadataParser {
virtual MetadataPropertyIterator* GetPropertyIterator() = 0;
};
-#endif // CHROME_BROWSER-METADATA_PARSER_H_
+#endif // CHROME_BROWSER_PARSERS_METADATA_PARSER_H_
diff --git a/chrome/browser/parsers/metadata_parser_factory.h b/chrome/browser/parsers/metadata_parser_factory.h
index c42e01d..2636804 100644
--- a/chrome/browser/parsers/metadata_parser_factory.h
+++ b/chrome/browser/parsers/metadata_parser_factory.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_BROWSER_METADATA_PARSER_FACTORY_H_
-#define CHROME_BROWSER_METADATA_PARSER_FACTORY_H_
+#ifndef CHROME_BROWSER_PARSERS_METADATA_PARSER_FACTORY_H_
+#define CHROME_BROWSER_PARSERS_METADATA_PARSER_FACTORY_H_
#include "chrome/browser/parsers/metadata_parser.h"
@@ -24,4 +24,4 @@ class MetadataParserFactory {
virtual MetadataParser* CreateParser(const FilePath& path) = 0;
};
-#endif // CHROME_BROWSER_METADATA_PARSER_FACTORY_H_
+#endif // CHROME_BROWSER_PARSERS_METADATA_PARSER_FACTORY_H_
diff --git a/chrome/browser/parsers/metadata_parser_filebase.h b/chrome/browser/parsers/metadata_parser_filebase.h
index 8b67a2d..b49ebfe 100644
--- a/chrome/browser/parsers/metadata_parser_filebase.h
+++ b/chrome/browser/parsers/metadata_parser_filebase.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_BROWSER_METADATA_PARSER_FILEBASE_H_
-#define CHROME_BROWSER_METADATA_PARSER_FILEBASE_H_
+#ifndef CHROME_BROWSER_PARSERS_METADATA_PARSER_FILEBASE_H_
+#define CHROME_BROWSER_PARSERS_METADATA_PARSER_FILEBASE_H_
#include "chrome/browser/parsers/metadata_parser.h"
@@ -13,7 +13,7 @@ typedef base::hash_map<std::string, std::string> PropertyMap;
// properties assiciated with files.
class FileMetadataParser : public MetadataParser {
public:
- FileMetadataParser(const FilePath& path);
+ explicit FileMetadataParser(const FilePath& path);
// Implementation of MetadataParser
virtual bool Parse();
@@ -31,7 +31,7 @@ class FileMetadataParser : public MetadataParser {
class FileMetadataPropertyIterator : public MetadataPropertyIterator {
public:
- FileMetadataPropertyIterator(PropertyMap& properties);
+ explicit FileMetadataPropertyIterator(PropertyMap& properties);
// Implementation of MetadataPropertyIterator
virtual bool GetNext(std::string* key, std::string* value);
@@ -45,4 +45,4 @@ class FileMetadataPropertyIterator : public MetadataPropertyIterator {
DISALLOW_COPY_AND_ASSIGN(FileMetadataPropertyIterator);
};
-#endif // CHROME_BROWSER_METADATA_PARSER_FILEBASE_H_
+#endif // CHROME_BROWSER_PARSERS_METADATA_PARSER_FILEBASE_H_
diff --git a/chrome/browser/parsers/metadata_parser_jpeg.h b/chrome/browser/parsers/metadata_parser_jpeg.h
index 449e816..779aa2b 100644
--- a/chrome/browser/parsers/metadata_parser_jpeg.h
+++ b/chrome/browser/parsers/metadata_parser_jpeg.h
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_METADATA_PARSER_JPEG_H_
-#define CHROME_BROWSER_METADATA_PARSER_JPEG_H_
+#ifndef CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_H_
+#define CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_H_
#include "chrome/browser/parsers/metadata_parser_filebase.h"
class JpegMetadataParser : public FileMetadataParser {
public:
- JpegMetadataParser(const FilePath& path);
+ explicit JpegMetadataParser(const FilePath& path);
// Implementation of MetadataParser
virtual bool Parse();
@@ -17,4 +17,4 @@ class JpegMetadataParser : public FileMetadataParser {
DISALLOW_COPY_AND_ASSIGN(JpegMetadataParser);
};
-#endif // CHROME_BROWSER_METADATA_PARSER_JPEG_H_
+#endif // CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_H_
diff --git a/chrome/browser/parsers/metadata_parser_jpeg_factory.h b/chrome/browser/parsers/metadata_parser_jpeg_factory.h
index 48c059b..2ac5160 100644
--- a/chrome/browser/parsers/metadata_parser_jpeg_factory.h
+++ b/chrome/browser/parsers/metadata_parser_jpeg_factory.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_BROWSER_METADATA_PARSER_JPEG_FACTORY_H_
-#define CHROME_BROWSER_METADATA_PARSER_JPEG_FACTORY_H_
+#ifndef CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_
+#define CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_
#include "chrome/browser/parsers/metadata_parser_factory.h"
@@ -19,4 +19,4 @@ class MetadataParserJpegFactory : public MetadataParserFactory {
DISALLOW_COPY_AND_ASSIGN(MetadataParserJpegFactory);
};
-#endif // CHROME_BROWSER_METADATA_PARSER_JPEG_FACTORY_H_
+#endif // CHROME_BROWSER_PARSERS_METADATA_PARSER_JPEG_FACTORY_H_
diff --git a/chrome/browser/parsers/metadata_parser_manager.h b/chrome/browser/parsers/metadata_parser_manager.h
index 3249eb2..97e289c 100644
--- a/chrome/browser/parsers/metadata_parser_manager.h
+++ b/chrome/browser/parsers/metadata_parser_manager.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_BROWSER_METADATA_PARSER_MANAGER_H_
-#define CHROME_BROWSER_METADATA_PARSER_MANAGER_H_
+#ifndef CHROME_BROWSER_PARSERS_METADATA_PARSER_MANAGER_H_
+#define CHROME_BROWSER_PARSERS_METADATA_PARSER_MANAGER_H_
#include <vector>
@@ -37,4 +37,4 @@ class MetadataParserManager {
DISALLOW_COPY_AND_ASSIGN(MetadataParserManager);
};
-#endif // CHROME_BROWSER_METADATA_PARSER_MANAGER_H_
+#endif // CHROME_BROWSER_PARSERS_METADATA_PARSER_MANAGER_H_