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

Side by Side Diff: chrome/browser/profiles/profile_avatar_downloader.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_ 4 #ifndef CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_
5 #define CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_ 5 #define CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" 8 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h"
9 9
10 class ProfileInfoCache; 10 class ProfileInfoCache;
11 11
12 class ProfileAvatarDownloader : public chrome::BitmapFetcherDelegate { 12 class ProfileAvatarDownloader : public chrome::BitmapFetcherDelegate {
13 public: 13 public:
14 ProfileAvatarDownloader(size_t icon_index, 14 ProfileAvatarDownloader(size_t icon_index,
15 const base::FilePath& profile_path, 15 const base::FilePath& profile_path,
16 ProfileInfoCache* cache); 16 ProfileInfoCache* cache);
17 virtual ~ProfileAvatarDownloader(); 17 virtual ~ProfileAvatarDownloader();
18 18
19 void Start(); 19 void Start();
20 20
21 // BitmapFetcherDelegate: 21 // BitmapFetcherDelegate:
22 virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) OVERRIDE; 22 virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) override;
23 23
24 private: 24 private:
25 // Downloads the avatar image from a url. 25 // Downloads the avatar image from a url.
26 scoped_ptr<chrome::BitmapFetcher> fetcher_; 26 scoped_ptr<chrome::BitmapFetcher> fetcher_;
27 27
28 // Index of the avatar being downloaded. 28 // Index of the avatar being downloaded.
29 size_t icon_index_; 29 size_t icon_index_;
30 30
31 // Path of the profile for which the avatar is being downloaded. 31 // Path of the profile for which the avatar is being downloaded.
32 base::FilePath profile_path_; 32 base::FilePath profile_path_;
33 33
34 ProfileInfoCache* cache_; // Weak. 34 ProfileInfoCache* cache_; // Weak.
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_ 37 #endif // CHROME_BROWSER_PROFILES_PROFILE_AVATAR_DOWNLOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.h ('k') | chrome/browser/profiles/profile_avatar_icon_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698