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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc

Issue 993513006: Introduce ManagePasswordsState class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 5 years, 9 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/passwords/manage_passwords_bubble_model_unittest.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc b/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
index 36483ef774f34ff1e9e08374cdcb1c3c808d9699..ba7587ba88977e9230016d9eb86a614674c695ae 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
@@ -26,7 +26,7 @@ class ManagePasswordsBubbleModelTest : public testing::Test {
: thread_bundle_(content::TestBrowserThreadBundle::IO_MAINLOOP),
test_web_contents_(
content::WebContentsTester::CreateTestWebContents(&profile_,
- NULL)) {}
+ nullptr)) {}
void SetUp() override {
// Create the test UIController here so that it's bound to
@@ -112,7 +112,7 @@ TEST_F(ManagePasswordsBubbleModelTest, CloseWithoutLogging) {
scoped_ptr<base::HistogramSamples> samples(
histogram_tester.GetHistogramSamplesSinceCreation(
kUIDismissalReasonMetric));
- EXPECT_EQ(NULL, samples.get());
+ EXPECT_FALSE(samples);
}
TEST_F(ManagePasswordsBubbleModelTest, CloseWithoutInteraction) {

Powered by Google App Engine
This is Rietveld 408576698