summaryrefslogtreecommitdiffstats
path: root/extensions/browser/extension_error.h
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 05:38:24 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 12:38:39 +0000
commit9168b2fe3e30afa4fd9a9500ba0725edf97c20a3 (patch)
treebb288d5b7fccc259391b83b18b12368a0d516b21 /extensions/browser/extension_error.h
parentae36a4a3f2efd040be2e563b0bff0592b0a5b5a1 (diff)
downloadchromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.zip
chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.gz
chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.bz2
Standardize usage of virtual/override/final in extensions/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=yoz@chromium.org Review URL: https://codereview.chromium.org/664933004 Cr-Commit-Position: refs/heads/master@{#300475}
Diffstat (limited to 'extensions/browser/extension_error.h')
-rw-r--r--extensions/browser/extension_error.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/browser/extension_error.h b/extensions/browser/extension_error.h
index 0fc0ee5..ba44d55 100644
--- a/extensions/browser/extension_error.h
+++ b/extensions/browser/extension_error.h
@@ -94,11 +94,11 @@ class ManifestError : public ExtensionError {
const base::string16& message,
const base::string16& manifest_key,
const base::string16& manifest_specific);
- virtual ~ManifestError();
+ ~ManifestError() override;
- virtual scoped_ptr<base::DictionaryValue> ToValue() const override;
+ scoped_ptr<base::DictionaryValue> ToValue() const override;
- virtual std::string PrintForTest() const override;
+ std::string PrintForTest() const override;
const base::string16& manifest_key() const { return manifest_key_; }
const base::string16& manifest_specific() const { return manifest_specific_; }
@@ -108,7 +108,7 @@ class ManifestError : public ExtensionError {
static const char kManifestSpecificKey[];
private:
- virtual bool IsEqualImpl(const ExtensionError* rhs) const override;
+ bool IsEqualImpl(const ExtensionError* rhs) const override;
// If present, this indicates the feature in the manifest which caused the
// error.
@@ -131,11 +131,11 @@ class RuntimeError : public ExtensionError {
logging::LogSeverity level,
int render_view_id,
int render_process_id);
- virtual ~RuntimeError();
+ ~RuntimeError() override;
- virtual scoped_ptr<base::DictionaryValue> ToValue() const override;
+ scoped_ptr<base::DictionaryValue> ToValue() const override;
- virtual std::string PrintForTest() const override;
+ std::string PrintForTest() const override;
const GURL& context_url() const { return context_url_; }
const StackTrace& stack_trace() const { return stack_trace_; }
@@ -153,7 +153,7 @@ class RuntimeError : public ExtensionError {
static const char kRenderViewIdKey[];
private:
- virtual bool IsEqualImpl(const ExtensionError* rhs) const override;
+ bool IsEqualImpl(const ExtensionError* rhs) const override;
// Since we piggy-back onto other error reporting systems (like V8 and
// WebKit), the reported information may need to be cleaned up in order to be