1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Download code which handles CRX files (extensions, themes, apps, ...).
7 #include "chrome/browser/download/download_crx_util.h"
9 namespace download_crx_util
{
11 bool IsExtensionDownload(const content::DownloadItem
& download_item
) {
12 // Extensions are not supported on Android. We want to treat them as
13 // normal file downloads.
17 bool OffStoreInstallAllowedByPrefs(Profile
* profile
,
18 const content::DownloadItem
& item
) {
19 // Extensions are not supported on Android, return the safe default.
23 } // namespace download_crx_util