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

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

Issue 10875065: Disable install of new default_apps for existing users (Closed) Base URL: http://git.chromium.org/git/chromium.git@disable_sync_behav
Patch Set: Moved the migration logic into the default_apps Provider 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/default_apps.cc » ('j') | chrome/browser/extensions/default_apps.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/default_apps.h
diff --git a/chrome/browser/extensions/default_apps.h b/chrome/browser/extensions/default_apps.h
index 7c13c8cda4b057debc485463735913061aa89823..293680df4237c36165ad716380a20ebea60e2453 100644
--- a/chrome/browser/extensions/default_apps.h
+++ b/chrome/browser/extensions/default_apps.h
@@ -15,6 +15,10 @@ namespace extensions {
class Extension;
}
+namespace base {
+class DictionaryValue;
+}
+
// Functions and types related to installing default apps.
namespace default_apps {
@@ -30,6 +34,9 @@ enum InstallState {
bool ShouldInstallInProfile(Profile* profile);
+// Returns true if the app was a default app in Chrome 22
+bool isOldDefaultApp(const std::string& extension_id);
Mihai Parparita -not on Chrome 2012/08/27 23:36:21 This doesn't need to be in the header file/in the
+
bool isLocaleSupported();
// Register preference properties used by default apps to maintain
@@ -51,6 +58,8 @@ class Provider : public extensions::ExternalProviderImpl {
// ExternalProviderImpl overrides:
virtual void VisitRegisteredExtension() OVERRIDE;
Mihai Parparita -not on Chrome 2012/08/27 23:36:21 No need for this empty line.
+ virtual void SetPrefs(base::DictionaryValue* prefs) OVERRIDE;
+
private:
Profile* profile_;
« no previous file with comments | « no previous file | chrome/browser/extensions/default_apps.cc » ('j') | chrome/browser/extensions/default_apps.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698