#include "content/public/browser/browser_thread.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_registry.h"
+#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "url/gurl.h"
const std::string& id,
const GURL& update_url,
PendingExtensionInfo::ShouldAllowInstallPredicate should_allow_install,
- bool install_silently,
bool remote_install,
bool installed_by_custodian) {
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// Make sure we don't ever try to install the CWS app, because even though
// it is listed as a syncable app (because its values need to be synced) it
// should already be installed on every instance.
- if (id == extension_misc::kWebStoreAppId) {
+ if (id == extensions::kWebStoreAppId) {
NOTREACHED();
return false;
}
Version(),
should_allow_install,
kIsFromSync,
- install_silently,
kSyncLocation,
creation_flags,
kMarkAcknowledged,
}
static const bool kIsFromSync = false;
- static const bool kInstallSilently = true;
static const Manifest::Location kManifestLocation = Manifest::INTERNAL;
static const bool kMarkAcknowledged = false;
static const bool kRemoteInstall = false;
Version(),
should_allow_install,
kIsFromSync,
- kInstallSilently,
kManifestLocation,
Extension::NO_FLAGS,
kMarkAcknowledged,
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
static const bool kIsFromSync = false;
- static const bool kInstallSilently = true;
static const bool kRemoteInstall = false;
const Extension* extension = ExtensionRegistry::Get(context_)
Version(),
&AlwaysInstall,
kIsFromSync,
- kInstallSilently,
location,
creation_flags,
mark_acknowledged,
// consistent.
const GURL& kUpdateUrl = GURL::EmptyGURL();
static const bool kIsFromSync = false;
- static const bool kInstallSilently = true;
static const bool kRemoteInstall = false;
return AddExtensionImpl(id,
version,
&AlwaysInstall,
kIsFromSync,
- kInstallSilently,
install_source,
creation_flags,
mark_acknowledged,
const Version& version,
PendingExtensionInfo::ShouldAllowInstallPredicate should_allow_install,
bool is_from_sync,
- bool install_silently,
Manifest::Location install_source,
int creation_flags,
bool mark_acknowledged,
version,
should_allow_install,
is_from_sync,
- install_silently,
install_source,
creation_flags,
mark_acknowledged,