summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
diff options
context:
space:
mode:
authorbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 06:15:10 +0000
committerbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 06:15:10 +0000
commitdc63aab9a03d091b4c88a0967d19f52a61212e16 (patch)
tree41ddfc74523057a226abca2ddfd52e83a00e75ae /chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
parentb1c20f53f919d5d14694562b659d0957fcd30997 (diff)
downloadchromium_src-dc63aab9a03d091b4c88a0967d19f52a61212e16.zip
chromium_src-dc63aab9a03d091b4c88a0967d19f52a61212e16.tar.gz
chromium_src-dc63aab9a03d091b4c88a0967d19f52a61212e16.tar.bz2
Move app_launcher.* out of chrome/browser/extensions and into apps/
This change also moves some UI code from chrome/browser/extensions into /chrome/browser/ui/, and cleans up the app_launcher.* code. BUG=159366 Review URL: https://chromiumcodereview.appspot.com/12095052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/ntp/ntp_resource_cache.cc')
-rw-r--r--chrome/browser/ui/webui/ntp/ntp_resource_cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index 3718bf3..983adde 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -7,6 +7,7 @@
#include <string>
#include <vector>
+#include "apps/app_launcher.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/memory/ref_counted_memory.h"
@@ -17,7 +18,6 @@
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/browser/extensions/app_launcher.h"
#include "chrome/browser/first_run/first_run.h"
#include "chrome/browser/google/google_util.h"
#include "chrome/browser/policy/browser_policy_connector.h"
@@ -194,7 +194,7 @@ bool NTPResourceCache::NewTabCacheNeedsRefresh() {
return true;
}
#endif
- bool should_show_apps_page = !extensions::IsAppLauncherEnabled();
+ bool should_show_apps_page = !apps::WasAppLauncherEnabled();
if (should_show_apps_page != should_show_apps_page_) {
should_show_apps_page_ = should_show_apps_page;
return true;