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

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

Issue 323843003: Add a do_not_sync pref to ExtensionPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for comments in #2 Created 6 years, 6 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
« no previous file with comments | « chrome/browser/extensions/extension_util.cc ('k') | extensions/browser/extension_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/sync_helper.h
diff --git a/chrome/common/extensions/sync_helper.h b/chrome/common/extensions/sync_helper.h
index 3a91bcb11da64e83b94767320bbc1b8194a422bc..db8d913f9a0fe1809011790875a172ca407a9cc6 100644
--- a/chrome/common/extensions/sync_helper.h
+++ b/chrome/common/extensions/sync_helper.h
@@ -11,6 +11,11 @@ class Extension;
namespace sync_helper {
+// NOTE: The check in the functions here only considers the data in extension
+// itself, not the environment it is in. To determine whether an extension
+// should be synced, you probably want to use util::ShoudSyncExtension and
+// util::ShouldSyncApp.
+
// Returns true if the extension should be synced.
bool IsSyncable(const Extension* extension);
« no previous file with comments | « chrome/browser/extensions/extension_util.cc ('k') | extensions/browser/extension_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698