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

Unified Diff: net/base/keygen_handler_unittest.cc

Issue 669813003: Update from chromium https://crrev.com/301725/ (Closed) Base URL: git@github.com:domokit/mojo.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 | « net/base/ip_endpoint_unittest.cc ('k') | net/base/net_log_logger_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/keygen_handler_unittest.cc
diff --git a/net/base/keygen_handler_unittest.cc b/net/base/keygen_handler_unittest.cc
index af4e01d99440e03f3f3b3c7e00e6374a9b2c16d6..2357328e42c16fc15445f8d3ab7abd98fb97cd63 100644
--- a/net/base/keygen_handler_unittest.cc
+++ b/net/base/keygen_handler_unittest.cc
@@ -32,13 +32,13 @@ class StubCryptoModuleDelegate : public crypto::NSSCryptoModuleDelegate {
explicit StubCryptoModuleDelegate(crypto::ScopedPK11Slot slot)
: slot_(slot.Pass()) {}
- virtual std::string RequestPassword(const std::string& slot_name,
- bool retry,
- bool* cancelled) override{
+ std::string RequestPassword(const std::string& slot_name,
+ bool retry,
+ bool* cancelled) override {
return std::string();
}
- virtual crypto::ScopedPK11Slot RequestSlot() override {
+ crypto::ScopedPK11Slot RequestSlot() override {
return crypto::ScopedPK11Slot(PK11_ReferenceSlot(slot_.get()));
}
@@ -50,7 +50,7 @@ class StubCryptoModuleDelegate : public crypto::NSSCryptoModuleDelegate {
class KeygenHandlerTest : public ::testing::Test {
public:
KeygenHandlerTest() {}
- virtual ~KeygenHandlerTest() {}
+ ~KeygenHandlerTest() override {}
scoped_ptr<KeygenHandler> CreateKeygenHandler() {
scoped_ptr<KeygenHandler> handler(new KeygenHandler(
« no previous file with comments | « net/base/ip_endpoint_unittest.cc ('k') | net/base/net_log_logger_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698