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); |