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

Unified Diff: chrome/browser/sync/glue/app_change_processor.cc

Issue 7633029: Remove extension.h #include from profile.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit_tests. Created 9 years, 4 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/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());

Powered by Google App Engine
This is Rietveld 408576698