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

Unified Diff: chrome/browser/extensions/extension_prefs.h

Issue 10855190: Disable sync for default apps (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 8 years, 4 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 | « no previous file | chrome/browser/extensions/extension_prefs.cc » ('j') | chrome/common/extensions/extension.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 6a7a7d7dae82137980d45e0c1c76743800ad0a71..27ad3a542364401328aa7cdc65fc6b3b9ec7a36c 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -429,6 +429,9 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
// bookmark.
bool IsFromBookmark(const std::string& extension_id) const;
+ // Returns true if the extension was installed as default app.
Mihai Parparita -not on Chrome 2012/08/24 21:05:23 "as a default app" is more correct.
+ bool IsFromDefault(const std::string& extension_id) const;
Mihai Parparita -not on Chrome 2012/08/24 21:05:23 "from default" doesn't quite sound right. WasInsta
+
// Helper method to acquire the installation time of an extension.
// Returns base::Time() if the installation time could not be parsed or
// found.
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_prefs.cc » ('j') | chrome/common/extensions/extension.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698