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

Unified Diff: chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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: chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc
diff --git a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc
index 79360ca80f9169beb2fcbb1191bb52657e97658e..2767455e2bb36171785e3184f8cda0565bc28dca 100644
--- a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc
+++ b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc
@@ -23,7 +23,7 @@ class TestObserver : public BitmapFetcherService::Observer {
virtual ~TestObserver() { target_->OnRequestFinished(); }
virtual void OnImageChanged(BitmapFetcherService::RequestId request_id,
- const SkBitmap& answers_image) OVERRIDE {
+ const SkBitmap& answers_image) override {
target_->OnImageChanged();
}
@@ -38,7 +38,7 @@ class TestService : public BitmapFetcherService {
// Create a fetcher, but don't start downloading. That allows side-stepping
// the decode step, which requires a utility process.
- virtual chrome::BitmapFetcher* CreateFetcher(const GURL& url) OVERRIDE {
+ virtual chrome::BitmapFetcher* CreateFetcher(const GURL& url) override {
return new chrome::BitmapFetcher(url, this);
}
};
@@ -48,7 +48,7 @@ class TestService : public BitmapFetcherService {
class BitmapFetcherServiceTest : public testing::Test,
public TestNotificationInterface {
public:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
service_.reset(new TestService(&profile_));
requestsFinished_ = 0;
imagesChanged_ = 0;
@@ -64,9 +64,9 @@ class BitmapFetcherServiceTest : public testing::Test,
}
size_t cache_size() { return service_->cache_.size(); }
- virtual void OnImageChanged() OVERRIDE { imagesChanged_++; }
+ virtual void OnImageChanged() override { imagesChanged_++; }
- virtual void OnRequestFinished() OVERRIDE { requestsFinished_++; }
+ virtual void OnRequestFinished() override { requestsFinished_++; }
// Simulate finishing a URL fetch and decode for the given fetcher.
void CompleteFetch(const GURL& url) {
« no previous file with comments | « chrome/browser/bitmap_fetcher/bitmap_fetcher_service_factory.h ('k') | chrome/browser/bookmarks/bookmark_html_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698