Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / download / download_crx_util_android.cc
blobc157540b303625fb22a3bd53c0460f8f0c005cb6
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.
4 //
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.
14 return false;
17 bool OffStoreInstallAllowedByPrefs(Profile* profile,
18 const content::DownloadItem& item) {
19 // Extensions are not supported on Android, return the safe default.
20 return false;
23 } // namespace download_crx_util