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

Unified Diff: gin/interceptor_unittest.cc

Issue 629153002: Replacing the OVERRIDE with override and FINAL with final in /src/gin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « gin/array_buffer.h ('k') | gin/run_microtasks_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/interceptor_unittest.cc
diff --git a/gin/interceptor_unittest.cc b/gin/interceptor_unittest.cc
index e25005b4e0ef44053601da8b66f54f765d974e1c..d267100a107869df183ff58cbef951ffcf232de0 100644
--- a/gin/interceptor_unittest.cc
+++ b/gin/interceptor_unittest.cc
@@ -33,7 +33,7 @@ class MyInterceptor : public Wrappable<MyInterceptor>,
// gin::NamedPropertyInterceptor
virtual v8::Local<v8::Value> GetNamedProperty(v8::Isolate* isolate,
const std::string& property)
- OVERRIDE {
+ override {
if (property == "value") {
return ConvertToV8(isolate, value_);
} else if (property == "func") {
@@ -44,7 +44,7 @@ class MyInterceptor : public Wrappable<MyInterceptor>,
}
virtual bool SetNamedProperty(v8::Isolate* isolate,
const std::string& property,
- v8::Local<v8::Value> value) OVERRIDE {
+ v8::Local<v8::Value> value) override {
if (property == "value") {
ConvertFromV8(isolate, value, &value_);
return true;
@@ -52,7 +52,7 @@ class MyInterceptor : public Wrappable<MyInterceptor>,
return false;
}
virtual std::vector<std::string> EnumerateNamedProperties(
- v8::Isolate* isolate) OVERRIDE {
+ v8::Isolate* isolate) override {
std::vector<std::string> result;
result.push_back("func");
result.push_back("value");
@@ -61,14 +61,14 @@ class MyInterceptor : public Wrappable<MyInterceptor>,
// gin::IndexedPropertyInterceptor
virtual v8::Local<v8::Value> GetIndexedProperty(v8::Isolate* isolate,
- uint32_t index) OVERRIDE {
+ uint32_t index) override {
if (index == 0)
return ConvertToV8(isolate, value_);
return v8::Local<v8::Value>();
}
virtual bool SetIndexedProperty(v8::Isolate* isolate,
uint32_t index,
- v8::Local<v8::Value> value) OVERRIDE {
+ v8::Local<v8::Value> value) override {
if (index == 0) {
ConvertFromV8(isolate, value, &value_);
return true;
@@ -77,7 +77,7 @@ class MyInterceptor : public Wrappable<MyInterceptor>,
return true;
}
virtual std::vector<uint32_t> EnumerateIndexedProperties(v8::Isolate* isolate)
- OVERRIDE {
+ override {
std::vector<uint32_t> result;
result.push_back(0);
return result;
@@ -93,7 +93,7 @@ class MyInterceptor : public Wrappable<MyInterceptor>,
// gin::Wrappable
virtual ObjectTemplateBuilder GetObjectTemplateBuilder(v8::Isolate* isolate)
- OVERRIDE {
+ override {
return Wrappable<MyInterceptor>::GetObjectTemplateBuilder(isolate)
.AddNamedPropertyInterceptor()
.AddIndexedPropertyInterceptor();
« no previous file with comments | « gin/array_buffer.h ('k') | gin/run_microtasks_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698