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

Unified Diff: chrome/browser/translate/standalone_cld_data_harness.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, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/translate/standalone_cld_data_harness.h
diff --git a/chrome/browser/translate/standalone_cld_data_harness.h b/chrome/browser/translate/standalone_cld_data_harness.h
new file mode 100644
index 0000000000000000000000000000000000000000..24b2869321a94c9e1167da3585ea85968d01cf81
--- /dev/null
+++ b/chrome/browser/translate/standalone_cld_data_harness.h
@@ -0,0 +1,29 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_TRANSLATE_STANDALONE_CLD_DATA_HARNESS_H_
+#define CHROME_BROWSER_TRANSLATE_STANDALONE_CLD_DATA_HARNESS_H_
+
+#include "chrome/browser/translate/cld_data_harness.h"
+
+namespace test {
+
+class StandaloneCldDataHarness : public CldDataHarness {
+ public:
+ StandaloneCldDataHarness();
+ virtual ~StandaloneCldDataHarness();
+ virtual void Init() OVERRIDE;
+
+ private:
+ void GetStandaloneDataFileSource(base::FilePath*);
+ void GetStandaloneDataFileDestination(base::FilePath*);
+ void DeleteStandaloneDataFile();
+ void CopyStandaloneDataFile();
+
+ DISALLOW_COPY_AND_ASSIGN(StandaloneCldDataHarness);
+};
+
+} // namespace test
+
+#endif // CHROME_BROWSER_TRANSLATE_STANDALONE_CLD_DATA_HARNESS_H_
« no previous file with comments | « chrome/browser/translate/component_cld_data_harness.cc ('k') | chrome/browser/translate/standalone_cld_data_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698