OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_ | 5 #ifndef COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_ |
6 #define COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_ | 6 #define COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/translate/content/browser/browser_cld_data_provider.h" | 9 #include "components/translate/content/browser/browser_cld_data_provider.h" |
10 | 10 |
11 namespace translate { | 11 namespace translate { |
12 | 12 |
13 class StaticBrowserCldDataProvider : public BrowserCldDataProvider { | 13 class StaticBrowserCldDataProvider : public BrowserCldDataProvider { |
14 public: | 14 public: |
15 explicit StaticBrowserCldDataProvider(); | 15 explicit StaticBrowserCldDataProvider(); |
16 virtual ~StaticBrowserCldDataProvider(); | 16 virtual ~StaticBrowserCldDataProvider(); |
17 // BrowserCldDataProvider implementations: | 17 // BrowserCldDataProvider implementations: |
18 virtual bool OnMessageReceived(const IPC::Message&) OVERRIDE; | 18 virtual bool OnMessageReceived(const IPC::Message&) override; |
19 virtual void OnCldDataRequest() OVERRIDE; | 19 virtual void OnCldDataRequest() override; |
20 virtual void SendCldDataResponse() OVERRIDE; | 20 virtual void SendCldDataResponse() override; |
21 | 21 |
22 private: | 22 private: |
23 DISALLOW_COPY_AND_ASSIGN(StaticBrowserCldDataProvider); | 23 DISALLOW_COPY_AND_ASSIGN(StaticBrowserCldDataProvider); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace translate | 26 } // namespace translate |
27 | 27 |
28 #endif // COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER
_H_ | 28 #endif // COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER
_H_ |
OLD | NEW |