Index: chrome/common/extensions/extension.h |
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h |
index 9629685ff3a5d96f562248e3ea9d6a6a475d4c70..4f6ce3d1877b2cdb8e0d73a6c2252d0a9fee430d 100644 |
--- a/chrome/common/extensions/extension.h |
+++ b/chrome/common/extensions/extension.h |
@@ -105,6 +105,12 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
TYPE_PACKAGED_APP |
}; |
+ enum SyncType { |
+ SYNC_TYPE_NONE = 0, |
+ SYNC_TYPE_EXTENSION, |
+ SYNC_TYPE_APP |
+ }; |
+ |
// An NPAPI plugin included in the extension. |
struct PluginInfo { |
FilePath path; // Path to the plugin. |
@@ -474,6 +480,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
// Returns true if this extension or app includes areas within |origin|. |
bool OverlapsWithOrigin(const GURL& origin) const; |
+ // Returns the sync bucket to use for this extension. |
+ SyncType GetSyncType() const; |
+ |
// Accessors: |
const FilePath& path() const { return path_; } |