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

Unified Diff: android_webview/native/permission/permission_request_handler_unittest.cc

Issue 623833003: replace OVERRIDE and FINAL with override and final in android_webview/ (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
Index: android_webview/native/permission/permission_request_handler_unittest.cc
diff --git a/android_webview/native/permission/permission_request_handler_unittest.cc b/android_webview/native/permission/permission_request_handler_unittest.cc
index c709f0b8f887da8e9b1af46feaa42e32ed8354c4..775e5fb2477c2e8228229433930b4bb5faff1a11 100644
--- a/android_webview/native/permission/permission_request_handler_unittest.cc
+++ b/android_webview/native/permission/permission_request_handler_unittest.cc
@@ -21,17 +21,17 @@ class TestAwPermissionRequestDelegate : public AwPermissionRequestDelegate {
callback_(callback) {}
// Get the origin which initiated the permission request.
- virtual const GURL& GetOrigin() OVERRIDE {
+ virtual const GURL& GetOrigin() override {
return origin_;
}
// Get the resources the origin wanted to access.
- virtual int64 GetResources() OVERRIDE {
+ virtual int64 GetResources() override {
return resources_;
}
// Notify the permission request is allowed or not.
- virtual void NotifyRequestResult(bool allowed) OVERRIDE {
+ virtual void NotifyRequestResult(bool allowed) override {
callback_.Run(allowed);
}
@@ -57,14 +57,14 @@ class TestPermissionRequestHandlerClient :
TestPermissionRequestHandlerClient()
: request_(NULL) {}
- virtual void OnPermissionRequest(AwPermissionRequest* request) OVERRIDE {
+ virtual void OnPermissionRequest(AwPermissionRequest* request) override {
request_ = request;
requested_permission_ =
Permission(request->GetOrigin(), request->GetResources());
}
virtual void OnPermissionRequestCanceled(
- AwPermissionRequest* request) OVERRIDE{
+ AwPermissionRequest* request) override{
canceled_permission_ =
Permission(request->GetOrigin(), request->GetResources());
}
@@ -129,7 +129,7 @@ class PermissionRequestHandlerTest : public testing::Test {
}
protected:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
testing::Test::SetUp();
origin_ = GURL("http://www.google.com");
resources_ =

Powered by Google App Engine
This is Rietveld 408576698