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

Unified Diff: chrome/browser/profiles/profile_downloader_unittest.cc

Issue 8801023: Fix detection of default G+ profile picture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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
« no previous file with comments | « chrome/browser/profiles/profile_downloader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_downloader_unittest.cc
diff --git a/chrome/browser/profiles/profile_downloader_unittest.cc b/chrome/browser/profiles/profile_downloader_unittest.cc
index 9b47c188676f25eec97df234e49acb1cfae58f4f..74ceae414bb04c5e6233ef62e9e06eb03b20013f 100644
--- a/chrome/browser/profiles/profile_downloader_unittest.cc
+++ b/chrome/browser/profiles/profile_downloader_unittest.cc
@@ -90,8 +90,8 @@ TEST_F(ProfileDownloaderTest, DefaultURL) {
// Picasa default photo
EXPECT_TRUE(ProfileDownloader::IsDefaultProfileImageURL(
"https://example.com/-4/AAAAAAAAAAA/AAAAAAAAAAE/G/s64-c/photo.jpg"));
- // G+ default photo
- EXPECT_TRUE(ProfileDownloader::IsDefaultProfileImageURL(
+ // Not default G+ photo
+ EXPECT_FALSE(ProfileDownloader::IsDefaultProfileImageURL(
"https://example.com/-4/AAAAAAAAAAI/AAAAAAAAAAA/G/photo.jpg"));
// Not default with 6 components
EXPECT_FALSE(ProfileDownloader::IsDefaultProfileImageURL(
« no previous file with comments | « chrome/browser/profiles/profile_downloader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698