Index: chrome/browser/sync/glue/app_change_processor.cc |
diff --git a/chrome/browser/sync/glue/app_change_processor.cc b/chrome/browser/sync/glue/app_change_processor.cc |
index f8e69a8bf864439a04329ddcd83f338b8d02f93d..e8f4009c4027eb83a7622e89d589c933c1399538 100644 |
--- a/chrome/browser/sync/glue/app_change_processor.cc |
+++ b/chrome/browser/sync/glue/app_change_processor.cc |
@@ -17,6 +17,7 @@ |
#include "chrome/browser/sync/unrecoverable_error_handler.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/extensions/extension.h" |
+#include "chrome/common/extensions/extension_constants.h" |
#include "content/browser/browser_thread.h" |
#include "content/common/notification_details.h" |
#include "content/common/notification_source.h" |
@@ -71,7 +72,7 @@ void AppChangeProcessor::Observe(int type, |
if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED) { |
const UnloadedExtensionInfo& info = |
*Details<UnloadedExtensionInfo>(details).ptr(); |
- if (info.reason == UnloadedExtensionInfo::UNINSTALL) { |
+ if (info.reason == extension_misc::UNLOAD_REASON_UNINSTALL) { |
VLOG(1) << "Removing server data for uninstalled extension " << id |
<< " of type " << info.extension->GetType(); |
RemoveServerData(traits_, id, share_handle()); |