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

Side by Side Diff: components/translate/content/common/cld_data_source.h

Issue 422843009: Add a new CldDataSource class that can be queried at runtime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add BUILD.gn Created 6 years, 4 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_COMMON_CLD_DATA_SOURCE_H_
6 #define COMPONENTS_TRANSLATE_CONTENT_COMMON_CLD_DATA_SOURCE_H_
7
8 #include <string>
9
10 namespace translate {
11
12 // Provides high-level functionality related to a CLD Data Source.
13 class CldDataSource {
14
15 public:
16
17 // Returns the symbolic name of the data source. In the Chromium
18 // open-source tree, the following data sources exist:
19 // static uses the static_[browser|renderer]_cld_data_provider
20 // implementations.
21 // standalone uses the data_file_[browser|renderer]_cld_data_provider
22 // implementations.
23 // component also uses the data_file_[browser|renderer]_cld_data_provider
24 // implementations.
25 //
26 // Other implementations based upon Chromium may provide CLD differently and
27 // may have other names.
28 static std::string GetName();
29
30 };
31
32 } // namespace translate
33 #endif // COMPONENTS_TRANSLATE_CONTENT_COMMON_CLD_DATA_SOURCE_H_
OLDNEW
« no previous file with comments | « components/translate/content/common/BUILD.gn ('k') | components/translate/content/common/component_cld_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698