Chromium Code Reviews| Index: chrome/browser/profiles/profile_downloader.cc |
| diff --git a/chrome/browser/profiles/profile_downloader.cc b/chrome/browser/profiles/profile_downloader.cc |
| index 56483ba5b052202d2245856edf4133d656c7b422..7cf125ec7eeb363838341a17dd418a516003c871 100644 |
| --- a/chrome/browser/profiles/profile_downloader.cc |
| +++ b/chrome/browser/profiles/profile_downloader.cc |
| @@ -64,12 +64,6 @@ const char kPicasaPhotoId[] = "AAAAAAAAAAA"; |
| // Photo version of the default PWA profile picture (base64 of 1). |
| const char kDefaultPicasaPhotoVersion[] = "AAAAAAAAAAE"; |
| -// Photo ID of the Google+ profile picture (base64 of 2). |
| -const char kGooglePlusPhotoId[] = "AAAAAAAAAAI"; |
| - |
| -// Photo version of the default Google+ profile picture (base64 of 0). |
| -const char kDefaultGooglePlusPhotoVersion[] = "AAAAAAAAAAA"; |
| - |
| // The minimum number of path components in profile picture URL. |
| const size_t kProfileImageURLPathComponentsCount = 6; |
| @@ -194,10 +188,8 @@ bool ProfileDownloader::IsDefaultProfileImageURL(const std::string& url) { |
| // There are at least two pairs of (ID, version) for the default photo: |
|
Ivan Korotkov
2011/12/06 08:51:12
Please fix this comment to match the code.
sail
2011/12/06 18:28:15
Done.
|
| // the default Google+ profile photo and the default Picasa profile photo. |
| - return ((photo_id == kPicasaPhotoId && |
| - photo_version == kDefaultPicasaPhotoVersion) || |
| - (photo_id == kGooglePlusPhotoId && |
| - photo_version == kDefaultGooglePlusPhotoVersion)); |
| + return photo_id == kPicasaPhotoId && |
| + photo_version == kDefaultPicasaPhotoVersion; |
| } |
| ProfileDownloader::ProfileDownloader(ProfileDownloaderDelegate* delegate) |