summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api')
-rw-r--r--chrome/browser/extensions/api/DEPS3
-rw-r--r--chrome/browser/extensions/api/webstore_private/webstore_private_api.cc6
2 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/extensions/api/DEPS b/chrome/browser/extensions/api/DEPS
new file mode 100644
index 0000000..6d699a6
--- /dev/null
+++ b/chrome/browser/extensions/api/DEPS
@@ -0,0 +1,3 @@
+include_rules = [
+ "+apps",
+]
diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
index 87b98ae..e1069be 100644
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h"
+#include "apps/app_launcher.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/lazy_instance.h"
@@ -14,7 +15,6 @@
#include "base/values.h"
#include "chrome/browser/about_flags.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/browser/extensions/app_launcher.h"
#include "chrome/browser/extensions/crx_installer.h"
#include "chrome/browser/extensions/extension_function_dispatcher.h"
#include "chrome/browser/extensions/extension_prefs.h"
@@ -458,7 +458,7 @@ bool CompleteInstallFunction::RunImpl() {
}
void CompleteInstallFunction::AfterMaybeInstallAppLauncher(bool ok) {
- UpdateIsAppLauncherEnabled(base::Bind(
+ apps::GetIsAppLauncherEnabled(base::Bind(
&CompleteInstallFunction::OnGetAppLauncherEnabled, this,
approval_->extension_id));
}
@@ -580,7 +580,7 @@ void GetWebGLStatusFunction::OnFeatureCheck(bool feature_allowed) {
}
bool GetIsLauncherEnabledFunction::RunImpl() {
- UpdateIsAppLauncherEnabled(base::Bind(
+ apps::GetIsAppLauncherEnabled(base::Bind(
&GetIsLauncherEnabledFunction::OnIsLauncherCheckCompleted, this));
return true;
}