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

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

Issue 10977048: Fix bug in disabling sync for default apps (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix browser and integration tests, which got broken Created 8 years, 2 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 | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »
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 82673c40dfc6dac9cada8fa59da8a04af08b9395..0850b36a50d1802e22abf53f5353f65b4f1234d4 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -118,7 +118,6 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
// for the App.
void OnExtensionInstalled(const Extension* extension,
Extension::State initial_state,
- bool from_webstore,
const syncer::StringOrdinal& page_ordinal);
// Called when an extension is uninstalled, so that prefs get cleaned up.
@@ -423,6 +422,9 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
// Clears incognito session-only content settings for all extensions.
void ClearIncognitoSessionOnlyContentSettings();
+ // Returns the creation flags mask for the extension.
+ int GetCreationFlags(const std::string& extension_id) const;
+
// Returns true if the extension was installed from the Chrome Web Store.
bool IsFromWebStore(const std::string& extension_id) const;
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698