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

Unified Diff: chrome/browser/background/background_mode_manager_unittest.cc

Issue 9020013: Refactor ProfileInfoCacheObserver interface and usage thereof. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: init 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
Index: chrome/browser/background/background_mode_manager_unittest.cc
===================================================================
--- chrome/browser/background/background_mode_manager_unittest.cc (revision 115334)
+++ chrome/browser/background/background_mode_manager_unittest.cc (working copy)
@@ -277,10 +277,8 @@
EXPECT_EQ(2, manager.NumberOfBackgroundModeData());
gfx::Image gaia_image(gfx::test::CreateImage());
- manager.OnProfileAdded(UTF8ToUTF16("p2new"),
- profile2->GetPath().BaseName().LossyDisplayName(),
- profile2->GetPath(),
- &gaia_image);
+ manager.OnProfileAdded(profile2->GetPath(),
+ profile2->GetPath().BaseName().LossyDisplayName());
EXPECT_EQ(UTF8ToUTF16("p2new"),
manager.GetBackgroundModeData(profile2)->name());

Powered by Google App Engine
This is Rietveld 408576698