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

Unified Diff: extensions/browser/runtime_data_unittest.cc

Issue 207613002: Cleanup: Remove NOTIFICATION_EXTENSION_UNLOADED usage in MediaScanManager. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase, add error console Created 6 years, 8 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
« no previous file with comments | « extensions/browser/runtime_data.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/runtime_data_unittest.cc
===================================================================
--- extensions/browser/runtime_data_unittest.cc (revision 260931)
+++ extensions/browser/runtime_data_unittest.cc (working copy)
@@ -39,7 +39,7 @@
class RuntimeDataTest : public testing::Test {
public:
- RuntimeDataTest() : runtime_data_(&registry_) {}
+ RuntimeDataTest() : registry_(NULL), runtime_data_(&registry_) {}
virtual ~RuntimeDataTest() {}
protected:
@@ -100,7 +100,7 @@
runtime_data_.SetBackgroundPageReady(extension, true);
ASSERT_TRUE(runtime_data_.HasExtensionForTesting(extension));
- runtime_data_.OnExtensionUnloaded(extension);
+ runtime_data_.OnExtensionUnloaded(NULL, extension);
EXPECT_FALSE(runtime_data_.HasExtensionForTesting(extension));
}
« no previous file with comments | « extensions/browser/runtime_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698