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

Unified Diff: chrome/browser/ui/ash/screenshot_taker_unittest.cc

Issue 20136004: Allow partial update for notification update API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add more tests per feedback Created 7 years, 5 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/ui/ash/screenshot_taker_unittest.cc
diff --git a/chrome/browser/ui/ash/screenshot_taker_unittest.cc b/chrome/browser/ui/ash/screenshot_taker_unittest.cc
index ed8ffd160f077c2cd36c15aff9c73e096f9a2c82..439a6a1ad98889d1e7416ad9fa1f2517be31c043 100644
--- a/chrome/browser/ui/ash/screenshot_taker_unittest.cc
+++ b/chrome/browser/ui/ash/screenshot_taker_unittest.cc
@@ -118,8 +118,8 @@ TEST_F(ScreenshotTakerTest, TakeScreenshot) {
#if defined(OS_CHROMEOS)
// Screenshot notifications on Windows not yet turned on.
- EXPECT_TRUE(g_browser_process->notification_ui_manager()->DoesIdExist(
- std::string("screenshot")));
+ EXPECT_TRUE(g_browser_process->notification_ui_manager()->FindById(
+ std::string("screenshot")) != NULL);
g_browser_process->notification_ui_manager()->CancelAll();
#endif

Powered by Google App Engine
This is Rietveld 408576698