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

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp

Issue 2540763002: Notifications: Split up image loading histograms by image type (Closed)
Patch Set: git cl format Created 4 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: third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp
diff --git a/third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp b/third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp
index bcb59f4d19f6523ba1a2570ff293250865609682..73eb908f42a966d926355d4968300aef9fe5e6ad 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp
+++ b/third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp
@@ -35,7 +35,9 @@ class NotificationImageLoaderTest : public ::testing::Test {
public:
NotificationImageLoaderTest()
: m_page(DummyPageHolder::create()),
- m_loader(new NotificationImageLoader()) {}
+ // The type is only for UMA, so not interesting to test.
+ m_loader(
+ new NotificationImageLoader(NotificationImageLoader::Type::Icon)) {}
Peter Beverloo 2016/11/30 17:44:02 ISTM that testing that the right histogram is used
johnme 2016/11/30 19:08:36 Done.
~NotificationImageLoaderTest() override {
m_loader->stop();

Powered by Google App Engine
This is Rietveld 408576698