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

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

Issue 10834191: new implementation of default apps (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: comments 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 996b9cad2db29b8f193f40191f2a24b0f696bbbf..c05daf50da4bb55c131c48467ffce8a1728b1370 100644
--- a/chrome/browser/extensions/default_apps.h
+++ b/chrome/browser/extensions/default_apps.h
@@ -22,15 +22,20 @@ namespace default_apps {
// be changed.
enum InstallState {
kUnknown,
- kAlwaysProvideDefaultApps,
- kNeverProvideDefaultApps
+ // Now unused, leave it for backward compatibility.
Mihai Parparita -not on Chrome 2012/08/21 22:03:56 Nit: "left for backward compatibility/migration" i
+ kProvideLegacyDefaultApps,
+ kNeverInstallDefaultApps,
+ kAlreadyInstalledDefaultApps
};
+bool ShouldInstallInProfile(Profile* profile);
+
+bool isLocaleSupported();
+
// Register preference properties used by default apps to maintain
// install state.
void RegisterUserPrefs(PrefService* prefs);
-
// A specialization of the ExternalProviderImpl that conditionally installs apps
// from the chrome::DIR_DEFAULT_APPS location based on a preference in the
// 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