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

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: fixed broken test 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..768e0d2645056193b41e05acbe6f4476840c3ae1 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,
+ // Now unused, leave it for backward compatibility.
kAlwaysProvideDefaultApps,
Mihai Parparita -not on Chrome 2012/08/15 00:32:13 Can you rename the enum value to kProvidedLegacyDe
- kNeverProvideDefaultApps
+ kNeverProvideDefaultApps,
Mihai Parparita -not on Chrome 2012/08/15 00:32:13 Rename this to kNeverInstallDefaultApps, since we
+ 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