diff options
author | DHNishi@gmail.com <DHNishi@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-18 20:05:36 +0000 |
---|---|---|
committer | DHNishi@gmail.com <DHNishi@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-18 20:05:36 +0000 |
commit | e51232f33e8da9f28597e6a3be5a9263b520a29c (patch) | |
tree | 7ae7741284f9e12643555e49ebf300400f4b44f2 /extensions/browser/runtime_data_unittest.cc | |
parent | dbc165c3cc074c0f05e6789afa3f66632da045c4 (diff) | |
download | chromium_src-e51232f33e8da9f28597e6a3be5a9263b520a29c.zip chromium_src-e51232f33e8da9f28597e6a3be5a9263b520a29c.tar.gz chromium_src-e51232f33e8da9f28597e6a3be5a9263b520a29c.tar.bz2 |
Pass Reason as a parameter with OnExtensionUnloaded.
BUG=354046
Review URL: https://codereview.chromium.org/222903002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264837 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/runtime_data_unittest.cc')
-rw-r--r-- | extensions/browser/runtime_data_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/browser/runtime_data_unittest.cc b/extensions/browser/runtime_data_unittest.cc index 48c1bbc..f0cbf4e 100644 --- a/extensions/browser/runtime_data_unittest.cc +++ b/extensions/browser/runtime_data_unittest.cc @@ -100,7 +100,8 @@ TEST_F(RuntimeDataTest, OnExtensionUnloaded) { runtime_data_.SetBackgroundPageReady(extension, true); ASSERT_TRUE(runtime_data_.HasExtensionForTesting(extension)); - runtime_data_.OnExtensionUnloaded(NULL, extension); + runtime_data_.OnExtensionUnloaded( + NULL, extension, UnloadedExtensionInfo::REASON_DISABLE); EXPECT_FALSE(runtime_data_.HasExtensionForTesting(extension)); } |