Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: components/translate/content/browser/static_browser_cld_data_provider.h

Issue 333603002: Modularize Compact Language Detector 2 (CLD2) data sources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge https://codereview.chromium.org/326383005 Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698