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

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

Issue 6825052: Update the web store promo to be clearer and configurable at run-time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate Aaron's feedback. Created 9 years, 8 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 | « chrome/browser/extensions/default_apps_unittest.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 9fd84e226957f3cea94f4fd42e4ad643eb18060a..dba8e4a22336e7db8ad6260f9b7717bc2b7b2e40 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -19,7 +19,7 @@
#include "base/task.h"
#include "base/time.h"
#include "base/tuple.h"
-#include "chrome/browser/extensions/default_apps.h"
+#include "chrome/browser/extensions/apps_promo.h"
#include "chrome/browser/extensions/extension_icon_manager.h"
#include "chrome/browser/extensions/extension_menu_manager.h"
#include "chrome/browser/extensions/extension_prefs.h"
@@ -167,7 +167,7 @@ class ExtensionService
const FilePath& install_directory() const { return install_directory_; }
- DefaultApps* default_apps() { return &default_apps_; }
+ AppsPromo* apps_promo() { return &apps_promo_; }
// Whether this extension can run in an incognito window.
virtual bool IsIncognitoEnabled(const std::string& extension_id) const;
@@ -559,9 +559,8 @@ class ExtensionService
typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions;
RegisteredComponentExtensions component_extension_manifests_;
- // Manages the installation of default apps and the promotion of them in the
- // app launcher.
- DefaultApps default_apps_;
+ // Manages the promotion of the web store.
+ AppsPromo apps_promo_;
// Flag to make sure event routers are only initialized once.
bool event_routers_initialized_;
« no previous file with comments | « chrome/browser/extensions/default_apps_unittest.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698