Index: chrome/common/extensions/extension.h |
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h |
index d5801f53c0b270a6e61533bdc03f9dc5e695bb1c..835a360daa98af90f60d3e1e2edc9e1c5d78776b 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. |
@@ -481,6 +487,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_; } |