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

Unified Diff: content/browser/devtools/devtools_http_handler_unittest.cc

Issue 634483005: Replacing the OVERRIDE with override and FINAL with final in content/browser/[devtools/ssl] (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: content/browser/devtools/devtools_http_handler_unittest.cc
diff --git a/content/browser/devtools/devtools_http_handler_unittest.cc b/content/browser/devtools/devtools_http_handler_unittest.cc
index c0e65892805b5da1146f6c98651031b927e30267..53360c4e6f58e34fe9c4e54c4d99144d944ca6e8 100644
--- a/content/browser/devtools/devtools_http_handler_unittest.cc
+++ b/content/browser/devtools/devtools_http_handler_unittest.cc
@@ -28,17 +28,17 @@ class DummyServerSocket : public net::ServerSocket {
DummyServerSocket() {}
// net::ServerSocket "implementation"
- virtual int Listen(const net::IPEndPoint& address, int backlog) OVERRIDE {
+ virtual int Listen(const net::IPEndPoint& address, int backlog) override {
return net::OK;
}
virtual int ListenWithAddressAndPort(const std::string& ip_address,
int port,
- int backlog) OVERRIDE {
+ int backlog) override {
return net::OK;
}
- virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE {
+ virtual int GetLocalAddress(net::IPEndPoint* address) const override {
net::IPAddressNumber number;
EXPECT_TRUE(net::ParseIPLiteralToNumber("127.0.0.1", &number));
*address = net::IPEndPoint(number, kDummyPort);
@@ -46,7 +46,7 @@ class DummyServerSocket : public net::ServerSocket {
}
virtual int Accept(scoped_ptr<net::StreamSocket>* socket,
- const net::CompletionCallback& callback) OVERRIDE {
+ const net::CompletionCallback& callback) override {
return net::ERR_IO_PENDING;
}
};
@@ -66,7 +66,7 @@ class DummyServerSocketFactory
}
private:
- virtual scoped_ptr<net::ServerSocket> Create() const OVERRIDE {
+ virtual scoped_ptr<net::ServerSocket> Create() const override {
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE, quit_closure_1_);
return scoped_ptr<net::ServerSocket>(new DummyServerSocket());
@@ -78,17 +78,17 @@ class DummyServerSocketFactory
class DummyDelegate : public DevToolsHttpHandlerDelegate {
public:
- virtual std::string GetDiscoveryPageHTML() OVERRIDE { return std::string(); }
+ virtual std::string GetDiscoveryPageHTML() override { return std::string(); }
- virtual bool BundlesFrontendResources() OVERRIDE { return true; }
+ virtual bool BundlesFrontendResources() override { return true; }
- 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 {
return scoped_ptr<net::StreamListenSocket>();
}
};
« no previous file with comments | « content/browser/devtools/devtools_http_handler_impl.cc ('k') | content/browser/devtools/devtools_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698