summaryrefslogtreecommitdiffstats
path: root/extensions/common
diff options
context:
space:
mode:
authormfomitchev <mfomitchev@chromium.org>2016-01-28 08:46:28 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-28 16:47:16 +0000
commit12b8eae75903716455b44d2c25236e183cebbeb7 (patch)
tree2d3299aad482456e6f78c285dc5cc390de9a6af6 /extensions/common
parentcf82bf409d647e793c5c60aeb3dbf9f4aa13ced7 (diff)
downloadchromium_src-12b8eae75903716455b44d2c25236e183cebbeb7.zip
chromium_src-12b8eae75903716455b44d2c25236e183cebbeb7.tar.gz
chromium_src-12b8eae75903716455b44d2c25236e183cebbeb7.tar.bz2
Remove the code added to make extensions compile on Aura Android.
BUG=NONE Review URL: https://codereview.chromium.org/1551423003 Cr-Commit-Position: refs/heads/master@{#372106}
Diffstat (limited to 'extensions/common')
-rw-r--r--extensions/common/BUILD.gn9
-rw-r--r--extensions/common/api/printer_provider/usb_printer_manifest_handler_android.cc26
2 files changed, 0 insertions, 35 deletions
diff --git a/extensions/common/BUILD.gn b/extensions/common/BUILD.gn
index 4f5496a..b0f40b5 100644
--- a/extensions/common/BUILD.gn
+++ b/extensions/common/BUILD.gn
@@ -71,15 +71,6 @@ if (enable_extensions) {
"//url",
]
- if (is_android) {
- deps -= [ "//device/usb" ]
- sources -= [
- "api/printer_provider/usb_printer_manifest_data.cc",
- "api/printer_provider/usb_printer_manifest_data.h",
- "api/printer_provider/usb_printer_manifest_handler.cc",
- ]
- }
-
if (enable_nacl) {
nacl_sources =
rebase_path(extensions_gypi_values.extensions_common_sources_nacl,
diff --git a/extensions/common/api/printer_provider/usb_printer_manifest_handler_android.cc b/extensions/common/api/printer_provider/usb_printer_manifest_handler_android.cc
deleted file mode 100644
index 88861c4..0000000
--- a/extensions/common/api/printer_provider/usb_printer_manifest_handler_android.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "extensions/common/api/printer_provider/usb_printer_manifest_handler.h"
-
-#include "extensions/common/extension.h"
-
-namespace extensions {
-
-UsbPrinterManifestHandler::UsbPrinterManifestHandler() {
-}
-
-UsbPrinterManifestHandler::~UsbPrinterManifestHandler() {
-}
-
-bool UsbPrinterManifestHandler::Parse(Extension* extension,
- base::string16* error) {
- return false;
-}
-
-const std::vector<std::string> UsbPrinterManifestHandler::Keys() const {
- return std::vector<std::string>();
-}
-
-} // namespace extensions