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

Unified Diff: chrome/browser/local_discovery/privetv3_session_unittest.cc

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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/local_discovery/privetv3_session_unittest.cc
diff --git a/chrome/browser/local_discovery/privetv3_session_unittest.cc b/chrome/browser/local_discovery/privetv3_session_unittest.cc
index 3e9c1a42e19c702629ebdee51f7c00f6a9664711..8cf8e89ebdfe851fcdfe4ab1f473150c966b73c5 100644
--- a/chrome/browser/local_discovery/privetv3_session_unittest.cc
+++ b/chrome/browser/local_discovery/privetv3_session_unittest.cc
@@ -49,17 +49,17 @@ class MockPrivetHTTPClient : public PrivetHTTPClient {
CreateInfoOperationPtr,
PrivetJSONOperation*(const PrivetJSONOperation::ResultCallback&));
- virtual void RefreshPrivetToken(
+ void RefreshPrivetToken(
const PrivetURLFetcher::TokenCallback& callback) override {
FAIL();
}
- virtual scoped_ptr<PrivetJSONOperation> CreateInfoOperation(
+ scoped_ptr<PrivetJSONOperation> CreateInfoOperation(
const PrivetJSONOperation::ResultCallback& callback) override {
return make_scoped_ptr(CreateInfoOperationPtr(callback));
}
- virtual scoped_ptr<PrivetURLFetcher> CreateURLFetcher(
+ scoped_ptr<PrivetURLFetcher> CreateURLFetcher(
const GURL& url,
net::URLFetcher::RequestType request_type,
PrivetURLFetcher::Delegate* delegate) override {
@@ -78,7 +78,7 @@ class PrivetV3SessionTest : public testing::Test {
: fetcher_factory_(nullptr),
session_(make_scoped_ptr(new MockPrivetHTTPClient())) {}
- virtual ~PrivetV3SessionTest() {}
+ ~PrivetV3SessionTest() override {}
MOCK_METHOD2(OnInitialized, void(Result, const std::vector<PairingType>&));
MOCK_METHOD1(OnPairingStarted, void(Result));
@@ -87,7 +87,7 @@ class PrivetV3SessionTest : public testing::Test {
MOCK_METHOD1(OnPostData, void(const base::DictionaryValue& data));
protected:
- virtual void SetUp() override {
+ void SetUp() override {
EXPECT_CALL(*this, OnInitialized(_, _)).Times(0);
EXPECT_CALL(*this, OnPairingStarted(_)).Times(0);
EXPECT_CALL(*this, OnCodeConfirmed(_)).Times(0);

Powered by Google App Engine
This is Rietveld 408576698