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. 4 5#ifndef COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_ 6#define COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_ 7 8#include "base/macros.h" 9#include "components/translate/content/browser/browser_cld_data_provider.h" 10 11namespace translate { 12 13class StaticBrowserCldDataProvider : public BrowserCldDataProvider { 14 public: 15 explicit StaticBrowserCldDataProvider(); 16 virtual ~StaticBrowserCldDataProvider(); 17 // BrowserCldDataProvider implementations: 18 virtual bool OnMessageReceived(const IPC::Message&) OVERRIDE; 19 virtual void OnCldDataRequest() OVERRIDE; 20 virtual void SendCldDataResponse() OVERRIDE; 21 22 private: 23 DISALLOW_COPY_AND_ASSIGN(StaticBrowserCldDataProvider); 24}; 25 26} // namespace translate 27 28#endif // COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_ 29