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

Unified Diff: chrome/browser/android/dev_tools_server.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_server.cc
diff --git a/chrome/browser/android/dev_tools_server.cc b/chrome/browser/android/dev_tools_server.cc
index d577eb9f791272c02d9ba4a2a912017f59d5184c..2a2e5e811391039b51c1ff0f2f38c386da9d5fb0 100644
--- a/chrome/browser/android/dev_tools_server.cc
+++ b/chrome/browser/android/dev_tools_server.cc
@@ -86,7 +86,7 @@ class DevToolsServerDelegate : public content::DevToolsHttpHandlerDelegate {
auth_callback_(auth_callback) {
}
- virtual std::string GetDiscoveryPageHTML() OVERRIDE {
+ virtual std::string GetDiscoveryPageHTML() override {
// TopSites updates itself after a delay. Ask TopSites to update itself
// when we're about to show the remote debugging landing page.
content::BrowserThread::PostTask(
@@ -97,17 +97,17 @@ class DevToolsServerDelegate : public content::DevToolsHttpHandlerDelegate {
IDR_DEVTOOLS_DISCOVERY_PAGE_HTML).as_string();
}
- virtual bool BundlesFrontendResources() OVERRIDE {
+ virtual bool BundlesFrontendResources() override {
return false;
}
- virtual base::FilePath GetDebugFrontendDir() OVERRIDE {
+ virtual base::FilePath GetDebugFrontendDir() override {
return base::FilePath();
}
virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
net::StreamListenSocket::Delegate* delegate,
- std::string* name) OVERRIDE {
+ std::string* name) override {
*name = base::StringPrintf(
kTetheringSocketName, getpid(), ++last_tethering_socket_);
return net::deprecated::UnixDomainListenSocket::
@@ -148,13 +148,13 @@ class UnixDomainServerSocketFactory
private:
// content::DevToolsHttpHandler::ServerSocketFactory.
- virtual scoped_ptr<net::ServerSocket> Create() const OVERRIDE {
+ virtual scoped_ptr<net::ServerSocket> Create() const override {
return scoped_ptr<net::ServerSocket>(
new net::UnixDomainServerSocket(auth_callback_,
true /* use_abstract_namespace */));
}
- virtual scoped_ptr<net::ServerSocket> CreateAndListen() const OVERRIDE {
+ virtual scoped_ptr<net::ServerSocket> CreateAndListen() const override {
scoped_ptr<net::ServerSocket> socket = Create();
if (!socket)
return scoped_ptr<net::ServerSocket>();

Powered by Google App Engine
This is Rietveld 408576698