Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / translate / content / renderer / renderer_cld_data_provider.cc
blobb43901d6cd97655025673457fd8ce5c7fcc6bd91
1 // Copyright 2014 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 #include "components/translate/content/renderer/renderer_cld_data_provider.h"
7 namespace translate {
9 RendererCldDataProvider::RendererCldDataProvider() {
10 // Nothing
13 bool RendererCldDataProvider::IsCldDataAvailable() {
14 return true;
17 bool RendererCldDataProvider::OnMessageReceived(const IPC::Message& message) {
18 return false; // Message not handled
21 void RendererCldDataProvider::SetCldAvailableCallback
22 (base::Callback<void(void)> callback) {
23 callback.Run();
26 } // namespace translate