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

Unified Diff: chrome/common/extensions/sync_helper.cc

Issue 515563003: Remove dependency of chrome in WebRequestPermissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated. Created 6 years, 3 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/common/extensions/sync_helper.cc
diff --git a/chrome/common/extensions/sync_helper.cc b/chrome/common/extensions/sync_helper.cc
index c38fdbc7ba97bed4bb19d7dc1fac06672d0087c3..b3488a442036b8ced42f1f8955d14937e0ebbd6d 100644
--- a/chrome/common/extensions/sync_helper.cc
+++ b/chrome/common/extensions/sync_helper.cc
@@ -8,6 +8,7 @@
#include "chrome/common/extensions/api/plugins/plugins_handler.h"
#include "chrome/common/extensions/extension_constants.h"
#include "chrome/common/extensions/manifest_url_handler.h"
+#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest.h"
#include "extensions/common/permissions/permissions_data.h"
@@ -88,7 +89,7 @@ bool IsSyncable(const Extension* extension) {
bool is_syncable = (extension->location() == Manifest::INTERNAL &&
!extension->was_installed_by_default());
// Sync the chrome web store to maintain its position on the new tab page.
- is_syncable |= (extension->id() == extension_misc::kWebStoreAppId);
+ is_syncable |= (extension->id() == extensions::kWebStoreAppId);
// Sync the chrome component app to maintain its position on the app list.
is_syncable |= (extension->id() == extension_misc::kChromeAppId);
return is_syncable;

Powered by Google App Engine
This is Rietveld 408576698