OLD | NEW |
| (Empty) |
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 | |
11 namespace translate { | |
12 | |
13 class StaticBrowserCldDataProvider : public BrowserCldDataProvider { | |
14 public: | |
15 explicit StaticBrowserCldDataProvider(); | |
16 ~StaticBrowserCldDataProvider() override; | |
17 // BrowserCldDataProvider implementations: | |
18 bool OnMessageReceived(const IPC::Message&) override; | |
19 void OnCldDataRequest() override; | |
20 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_ | |
OLD | NEW |