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

Side by Side Diff: chrome/browser/translate/static_cld_data_harness.cc

Issue 461633002: Refactor language detection logic to allow non-static CLD data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make some of the harness factory methods private Created 6 years, 1 month 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 #include "static_cld_data_harness.h"
6
7 namespace test {
8
9 StaticCldDataHarness::StaticCldDataHarness() {
10 // static data requires no special work
11 }
12
13 StaticCldDataHarness::~StaticCldDataHarness() {
14 // static data requires no special work
15 }
16
17 void StaticCldDataHarness::Init() {
18 // static data requires no special work
19 }
20
21 scoped_ptr<CldDataHarness> CreateCldDataHarness() {
22 scoped_ptr<CldDataHarness> result(new StaticCldDataHarness());
23 return result.Pass();
24 }
25
26 } // namespace test
OLDNEW
« no previous file with comments | « chrome/browser/translate/static_cld_data_harness.h ('k') | chrome/browser/translate/translate_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698