Index: chrome/browser/translate/component_cld_data_harness.h |
diff --git a/chrome/browser/translate/component_cld_data_harness.h b/chrome/browser/translate/component_cld_data_harness.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0d8d9ec8af8489b70d0c70135419b82b31dec674 |
--- /dev/null |
+++ b/chrome/browser/translate/component_cld_data_harness.h |
@@ -0,0 +1,31 @@ |
+// 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_COMPONENT_CLD_DATA_HARNESS_H_ |
+#define CHROME_BROWSER_TRANSLATE_COMPONENT_CLD_DATA_HARNESS_H_ |
+ |
+#include "base/macros.h" |
+#include "chrome/browser/translate/cld_data_harness.h" |
+ |
+namespace test { |
+ |
+class ComponentCldDataHarness : public CldDataHarness { |
+ public: |
+ ComponentCldDataHarness(); |
+ virtual ~ComponentCldDataHarness(); |
+ virtual void Init() OVERRIDE; |
+ |
+ private: |
+ void ClearComponentDataFileState(); |
+ void GetExtractedComponentDestination(base::FilePath*); |
+ void GetComponentDataFileDestination(base::FilePath*); |
+ void DeleteComponentTree(); |
+ void CopyComponentTree(); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ComponentCldDataHarness); |
+}; |
+ |
+} // namespace test |
+ |
+#endif // CHROME_BROWSER_TRANSLATE_COMPONENT_CLD_DATA_HARNESS_H_ |