Commit b46d20b7 authored by Leo Zhang's avatar Leo Zhang Committed by Chromium LUCI CQ

IME: remove unused code.

These codes are not used.

BUG=b/162559903
TEST=build local chrome

Change-Id: Ie0cb1f8c634ab3dbcc2f8873e2f2337ec6168738
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2573898Reviewed-by: default avatarLeo Zhang <googleo@chromium.org>
Reviewed-by: default avatarJohn Palmer <jopalmer@chromium.org>
Commit-Queue: Leo Zhang <googleo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834122}
parent cec33867
...@@ -36,8 +36,6 @@ source_set("lib") { ...@@ -36,8 +36,6 @@ source_set("lib") {
sources = [ sources = [
"decoder/decoder_engine.cc", "decoder/decoder_engine.cc",
"decoder/decoder_engine.h", "decoder/decoder_engine.h",
"decoder/downloader_impl.cc",
"decoder/downloader_impl.h",
"decoder/proto_conversion.cc", "decoder/proto_conversion.cc",
"decoder/proto_conversion.h", "decoder/proto_conversion.h",
"decoder/system_engine.cc", "decoder/system_engine.cc",
......
// Copyright 2019 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 "chromeos/services/ime/decoder/downloader_impl.h"
namespace chromeos {
namespace ime {
DownloaderImpl::DownloaderImpl() {
// TODO(crbug/946913): Implement this.
}
DownloaderImpl::~DownloaderImpl() {
// TODO(crbug/946913): Implement this.
}
int DownloaderImpl::DownloadToFile(const char* url,
const DownloadOptions& options,
const char* file_path,
ImeCrosDownloadCallback callback) {
// TODO(crbug/946913): Implement this.
return 0;
}
void DownloaderImpl::Cancel(int request_id) {
// TODO(crbug/946913): Implement this.
}
} // namespace ime
} // namespace chromeos
// Copyright 2019 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.
#ifndef CHROMEOS_SERVICES_IME_DECODER_DOWNLOADER_IMPL_H_
#define CHROMEOS_SERVICES_IME_DECODER_DOWNLOADER_IMPL_H_
#include "base/macros.h"
#include "chromeos/services/ime/public/cpp/shared_lib/interfaces.h"
namespace chromeos {
namespace ime {
class DownloaderImpl : public ImeCrosDownloader {
public:
explicit DownloaderImpl();
~DownloaderImpl() override;
int DownloadToFile(const char* url,
const DownloadOptions& options,
const char* file_path,
ImeCrosDownloadCallback callback) override;
void Cancel(int request_id) override;
private:
DISALLOW_COPY_AND_ASSIGN(DownloaderImpl);
};
} // namespace ime
} // namespace chromeos
#endif // CHROMEOS_SERVICES_IME_DECODER_DOWNLOADER_IMPL_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment