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

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

Issue 5958002: Do not show apps section until default apps are installed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 a6e899eba81972936a1cc74d3b4d6d0135d77679..b03f6ec16147bf44f0449f6407619ab197d08ac2 100644
--- a/chrome/browser/extensions/default_apps.h
+++ b/chrome/browser/extensions/default_apps.h
@@ -46,6 +46,9 @@ class DefaultApps {
// Gets the list of default apps.
const ExtensionIdSet* GetDefaultApps() const;
+ // Returns true if the default apps have been installed. False otherwise.
+ bool GetDefaultAppsInstalled() const;
+
// Should be called after each app is installed. Once installed_ids contains
// all the default apps, GetAppsToInstall() will start returning NULL.
void DidInstallApp(const ExtensionIdSet& installed_ids);
@@ -69,7 +72,6 @@ class DefaultApps {
FRIEND_TEST_ALL_PREFIXES(ExtensionDefaultApps,
ManualAppInstalledWhileInstallingDefaultApps);
- bool GetDefaultAppsInstalled() const;
void SetDefaultAppsInstalled(bool val);
int GetPromoCounter() const;

Powered by Google App Engine
This is Rietveld 408576698