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

Unified Diff: extensions/common/extension.h

Issue 308003005: app_list: Drive app integration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a is_sycable prop and use it instead of installed_by_default 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
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 797c906b40dd007382baf2744d94faa1597db3e7..e3af48296105d1042474f0ec3328ccf753f7cd87 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -330,6 +330,8 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
void set_wants_file_access(bool wants_file_access) {
wants_file_access_ = wants_file_access;
}
+ bool is_syncable() const { return is_syncable_; }
+ void set_is_syncable(bool is_syncable) { is_syncable_ = is_syncable; }
int creation_flags() const { return creation_flags_; }
bool from_webstore() const { return (creation_flags_ & FROM_WEBSTORE) != 0; }
bool from_bookmark() const { return (creation_flags_ & FROM_BOOKMARK) != 0; }
@@ -474,6 +476,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// granted it that access).
bool wants_file_access_;
+ // Whether this app is syncable to other devices.
+ bool is_syncable_;
+
// The flags that were passed to InitFromValue.
int creation_flags_;

Powered by Google App Engine
This is Rietveld 408576698