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

Unified Diff: extensions/browser/extension_prefs.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/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index fc3c7bed6dbed0af1f18f0227b32d1b9d081b10c..48c8cde8d9f3a036facfdc895a4f21d1abce19ba 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -516,6 +516,9 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
// found.
base::Time GetInstallTime(const std::string& extension_id) const;
+ // Returns true if the extension is allowed to be synced.
+ bool IsSyncable(const std::string& extension_id) const;
+
// Gets/sets the last launch time of an extension.
base::Time GetLastLaunchTime(const std::string& extension_id) const;
void SetLastLaunchTime(const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698