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

Unified Diff: chrome/browser/android/dev_tools_manager_delegate_android.cc

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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: chrome/browser/android/dev_tools_manager_delegate_android.cc
diff --git a/chrome/browser/android/dev_tools_manager_delegate_android.cc b/chrome/browser/android/dev_tools_manager_delegate_android.cc
index d4f6631e9aef6422850e12bf899db7f355c7e988..a5da5f74ec51df9259b4fd8bc5d11238fc6543ce 100644
--- a/chrome/browser/android/dev_tools_manager_delegate_android.cc
+++ b/chrome/browser/android/dev_tools_manager_delegate_android.cc
@@ -54,17 +54,17 @@ base::TimeTicks GetLastActiveTimeForAgentHost(
class TargetBase : public content::DevToolsTarget {
public:
// content::DevToolsTarget implementation:
- virtual std::string GetParentId() const OVERRIDE { return std::string(); }
+ virtual std::string GetParentId() const override { return std::string(); }
- virtual std::string GetTitle() const OVERRIDE { return title_; }
+ virtual std::string GetTitle() const override { return title_; }
- virtual std::string GetDescription() const OVERRIDE { return std::string(); }
+ virtual std::string GetDescription() const override { return std::string(); }
- virtual GURL GetURL() const OVERRIDE { return url_; }
+ virtual GURL GetURL() const override { return url_; }
- virtual GURL GetFaviconURL() const OVERRIDE { return favicon_url_; }
+ virtual GURL GetFaviconURL() const override { return favicon_url_; }
- virtual base::TimeTicks GetLastActivityTime() const OVERRIDE {
+ virtual base::TimeTicks GetLastActivityTime() const override {
return last_activity_time_;
}
@@ -109,15 +109,15 @@ class TabTarget : public TargetBase {
}
// content::DevToolsTarget implementation:
- virtual std::string GetId() const OVERRIDE {
+ virtual std::string GetId() const override {
return base::IntToString(tab_id_);
}
- virtual std::string GetType() const OVERRIDE {
+ virtual std::string GetType() const override {
return kTargetTypePage;
}
- virtual bool IsAttached() const OVERRIDE {
+ virtual bool IsAttached() const override {
TabModel* model;
int index;
if (!FindTab(&model, &index))
@@ -128,7 +128,7 @@ class TabTarget : public TargetBase {
return DevToolsAgentHost::IsDebuggerAttached(web_contents);
}
- virtual scoped_refptr<DevToolsAgentHost> GetAgentHost() const OVERRIDE {
+ virtual scoped_refptr<DevToolsAgentHost> GetAgentHost() const override {
TabModel* model;
int index;
if (!FindTab(&model, &index))
@@ -150,7 +150,7 @@ class TabTarget : public TargetBase {
return DevToolsAgentHost::GetOrCreateFor(web_contents);
}
- virtual bool Activate() const OVERRIDE {
+ virtual bool Activate() const override {
TabModel* model;
int index;
if (!FindTab(&model, &index))
@@ -159,7 +159,7 @@ class TabTarget : public TargetBase {
return true;
}
- virtual bool Close() const OVERRIDE {
+ virtual bool Close() const override {
TabModel* model;
int index;
if (!FindTab(&model, &index))
@@ -206,11 +206,11 @@ class NonTabTarget : public TargetBase {
}
// content::DevToolsTarget implementation:
- virtual std::string GetId() const OVERRIDE {
+ virtual std::string GetId() const override {
return agent_host_->GetId();
}
- virtual std::string GetType() const OVERRIDE {
+ virtual std::string GetType() const override {
switch (agent_host_->GetType()) {
case DevToolsAgentHost::TYPE_WEB_CONTENTS:
if (TabModelList::begin() == TabModelList::end()) {
@@ -227,19 +227,19 @@ class NonTabTarget : public TargetBase {
return kTargetTypeOther;
}
- virtual bool IsAttached() const OVERRIDE {
+ virtual bool IsAttached() const override {
return agent_host_->IsAttached();
}
- virtual scoped_refptr<DevToolsAgentHost> GetAgentHost() const OVERRIDE {
+ virtual scoped_refptr<DevToolsAgentHost> GetAgentHost() const override {
return agent_host_;
}
- virtual bool Activate() const OVERRIDE {
+ virtual bool Activate() const override {
return agent_host_->Activate();
}
- virtual bool Close() const OVERRIDE {
+ virtual bool Close() const override {
return agent_host_->Close();
}
« no previous file with comments | « chrome/browser/android/dev_tools_manager_delegate_android.h ('k') | chrome/browser/android/dev_tools_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698