Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2139)

Unified Diff: chrome/browser/profile_resetter/jtl_interpreter.cc

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profile_resetter/jtl_interpreter.cc
diff --git a/chrome/browser/profile_resetter/jtl_interpreter.cc b/chrome/browser/profile_resetter/jtl_interpreter.cc
index c918954024497e066dbcac11a9b43abca8206679..be0b368cd842b7a382a0af9bd5533bd6a53ad45b 100644
--- a/chrome/browser/profile_resetter/jtl_interpreter.cc
+++ b/chrome/browser/profile_resetter/jtl_interpreter.cc
@@ -246,8 +246,8 @@ class StoreNodeValue : public Operation {
: hashed_name_(hashed_name) {
DCHECK(base::IsStringUTF8(hashed_name));
}
- virtual ~StoreNodeValue() {}
- virtual bool Execute(ExecutionContext* context) override {
+ ~StoreNodeValue() override {}
+ bool Execute(ExecutionContext* context) override {
scoped_ptr<base::Value> value;
if (ExpectedTypeIsBooleanNotHashable) {
if (!context->current_node()->IsType(base::Value::TYPE_BOOLEAN))
@@ -382,8 +382,8 @@ class CompareNodeToStored : public Operation {
public:
explicit CompareNodeToStored(const std::string& hashed_name)
: hashed_name_(hashed_name) {}
- virtual ~CompareNodeToStored() {}
- virtual bool Execute(ExecutionContext* context) override {
+ ~CompareNodeToStored() override {}
+ bool Execute(ExecutionContext* context) override {
const base::Value* stored_value = NULL;
if (!context->working_memory()->Get(hashed_name_, &stored_value))
return true;

Powered by Google App Engine
This is Rietveld 408576698