summaryrefslogtreecommitdiffstats
path: root/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
diff options
context:
space:
mode:
authornick <nick@chromium.org>2015-04-24 13:45:38 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-24 20:45:43 +0000
commitddb02ac66bad95bc04548a799eb2ce89a456b37c (patch)
tree948622946e37611fa5198b4dba00ad31ec15c7ec /chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
parentd9456757bec482f2b27cf75ef7fa2109af0500a6 (diff)
downloadchromium_src-ddb02ac66bad95bc04548a799eb2ce89a456b37c.zip
chromium_src-ddb02ac66bad95bc04548a799eb2ce89a456b37c.tar.gz
chromium_src-ddb02ac66bad95bc04548a799eb2ce89a456b37c.tar.bz2
Update {virtual,override} to follow C++11 style in chrome.
The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override. This patch was manually generated using a regex and a text editor. BUG=417463 Review URL: https://codereview.chromium.org/1100223002 Cr-Commit-Position: refs/heads/master@{#326870}
Diffstat (limited to 'chrome/browser/local_discovery/privet_url_fetcher_unittest.cc')
-rw-r--r--chrome/browser/local_discovery/privet_url_fetcher_unittest.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc b/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
index 2b1daca..467e1d8 100644
--- a/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
+++ b/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
@@ -28,19 +28,19 @@ class MockPrivetURLFetcherDelegate : public PrivetURLFetcher::Delegate {
MockPrivetURLFetcherDelegate() : raw_mode_(false) {
}
- virtual ~MockPrivetURLFetcherDelegate() {
+ ~MockPrivetURLFetcherDelegate() override {
}
- virtual void OnError(PrivetURLFetcher* fetcher,
- PrivetURLFetcher::ErrorType error) override {
+ void OnError(PrivetURLFetcher* fetcher,
+ PrivetURLFetcher::ErrorType error) override {
OnErrorInternal(error);
}
MOCK_METHOD1(OnErrorInternal, void(PrivetURLFetcher::ErrorType error));
- virtual void OnParsedJson(PrivetURLFetcher* fetcher,
- const base::DictionaryValue& value,
- bool has_error) override {
+ void OnParsedJson(PrivetURLFetcher* fetcher,
+ const base::DictionaryValue& value,
+ bool has_error) override {
saved_value_.reset(value.DeepCopy());
OnParsedJsonInternal(has_error);
}