summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_info_map_unittest.cc
diff options
context:
space:
mode:
authormihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-13 05:30:59 +0000
committermihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-13 05:30:59 +0000
commit814a7bf0ff8e016769a4ff3717daab50ef388be6 (patch)
tree713b3d7162c0fda51ccf0546c107c6270345ddc4 /chrome/browser/extensions/extension_info_map_unittest.cc
parentebe602db1fe4f0e994728302edfb7d909158dfa0 (diff)
downloadchromium_src-814a7bf0ff8e016769a4ff3717daab50ef388be6.zip
chromium_src-814a7bf0ff8e016769a4ff3717daab50ef388be6.tar.gz
chromium_src-814a7bf0ff8e016769a4ff3717daab50ef388be6.tar.bz2
Remove extension.h #include from profile.h.
Touching extension.h now results in 202 files being compiled instead of 495 (when building the chrome target). Required that the UnloadedExtensionReason enum be moved to extension_constants.h. R=asargent@chromium.org Review URL: http://codereview.chromium.org/7633029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_info_map_unittest.cc')
-rw-r--r--chrome/browser/extensions/extension_info_map_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_info_map_unittest.cc b/chrome/browser/extensions/extension_info_map_unittest.cc
index 5df0bd1..8bba598 100644
--- a/chrome/browser/extensions/extension_info_map_unittest.cc
+++ b/chrome/browser/extensions/extension_info_map_unittest.cc
@@ -94,7 +94,8 @@ TEST_F(ExtensionInfoMapTest, RefCounting) {
EXPECT_TRUE(weak_extension1->HasOneRef());
// Remove extension2, and the extension2 object should have the only ref.
- info_map->RemoveExtension(extension2->id(), UnloadedExtensionInfo::UNINSTALL);
+ info_map->RemoveExtension(
+ extension2->id(), extension_misc::UNLOAD_REASON_UNINSTALL);
EXPECT_TRUE(extension2->HasOneRef());
// Delete the info map, and the extension3 object should have the only ref.