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

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: disable default_app unit_test for chromeos 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
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..7c13c8cda4b057debc485463735913061aa89823 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, left for backward compatibility.
+ 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/extension_service_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698