summaryrefslogtreecommitdiffstats
path: root/chrome/browser/parsers
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 16:52:21 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 16:52:21 +0000
commit49fd7e2236c370b3affab9788fa5fc4c998729a1 (patch)
tree204eaa4196e3e9a6b173253a146b9104f0108da2 /chrome/browser/parsers
parent0d5c08e06dc7c5e0f2895134cdd9c34c2402551c (diff)
downloadchromium_src-49fd7e2236c370b3affab9788fa5fc4c998729a1.zip
chromium_src-49fd7e2236c370b3affab9788fa5fc4c998729a1.tar.gz
chromium_src-49fd7e2236c370b3affab9788fa5fc4c998729a1.tar.bz2
Add OVERRIDE to chrome/browser/.
BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8614003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/parsers')
-rw-r--r--chrome/browser/parsers/metadata_parser_filebase.h14
-rw-r--r--chrome/browser/parsers/metadata_parser_jpeg.h4
-rw-r--r--chrome/browser/parsers/metadata_parser_jpeg_factory.h9
3 files changed, 15 insertions, 12 deletions
diff --git a/chrome/browser/parsers/metadata_parser_filebase.h b/chrome/browser/parsers/metadata_parser_filebase.h
index e1614a8..cca7085 100644
--- a/chrome/browser/parsers/metadata_parser_filebase.h
+++ b/chrome/browser/parsers/metadata_parser_filebase.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -24,10 +24,10 @@ class FileMetadataParser : public MetadataParser {
virtual ~FileMetadataParser();
// Implementation of MetadataParser
- virtual bool Parse();
- virtual bool GetProperty(const std::string& key, std::string* value);
+ virtual bool Parse() OVERRIDE;
+ virtual bool GetProperty(const std::string& key, std::string* value) OVERRIDE;
- virtual MetadataPropertyIterator* GetPropertyIterator();
+ virtual MetadataPropertyIterator* GetPropertyIterator() OVERRIDE;
protected:
PropertyMap properties_;
@@ -44,9 +44,9 @@ class FileMetadataPropertyIterator : public MetadataPropertyIterator {
virtual ~FileMetadataPropertyIterator();
// Implementation of MetadataPropertyIterator
- virtual bool GetNext(std::string* key, std::string* value);
- virtual int Length();
- virtual bool IsEnd();
+ virtual bool GetNext(std::string* key, std::string* value) OVERRIDE;
+ virtual int Length() OVERRIDE;
+ virtual bool IsEnd() OVERRIDE;
private:
PropertyMap& properties_;
diff --git a/chrome/browser/parsers/metadata_parser_jpeg.h b/chrome/browser/parsers/metadata_parser_jpeg.h
index cfd193a9..b18e66b 100644
--- a/chrome/browser/parsers/metadata_parser_jpeg.h
+++ b/chrome/browser/parsers/metadata_parser_jpeg.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -12,7 +12,7 @@ class JpegMetadataParser : public FileMetadataParser {
public:
explicit JpegMetadataParser(const FilePath& path);
// Implementation of MetadataParser
- virtual bool Parse();
+ virtual bool Parse() OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(JpegMetadataParser);
diff --git a/chrome/browser/parsers/metadata_parser_jpeg_factory.h b/chrome/browser/parsers/metadata_parser_jpeg_factory.h
index 9a4546a..8ba21e5 100644
--- a/chrome/browser/parsers/metadata_parser_jpeg_factory.h
+++ b/chrome/browser/parsers/metadata_parser_jpeg_factory.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -7,6 +7,7 @@
#pragma once
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "chrome/browser/parsers/metadata_parser_factory.h"
class FilePath;
@@ -16,8 +17,10 @@ class MetadataParserJpegFactory : public MetadataParserFactory {
MetadataParserJpegFactory();
// Implementation of MetadataParserFactory
- virtual bool CanParse(const FilePath& path, char* bytes, int bytes_size);
- virtual MetadataParser* CreateParser(const FilePath& path);
+ virtual bool CanParse(const FilePath& path,
+ char* bytes,
+ int bytes_size) OVERRIDE;
+ virtual MetadataParser* CreateParser(const FilePath& path) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(MetadataParserJpegFactory);