OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_TRANSLATE_COMPONENT_CLD_DATA_HARNESS_H_ | 5 #ifndef CHROME_BROWSER_TRANSLATE_COMPONENT_CLD_DATA_HARNESS_H_ |
6 #define CHROME_BROWSER_TRANSLATE_COMPONENT_CLD_DATA_HARNESS_H_ | 6 #define CHROME_BROWSER_TRANSLATE_COMPONENT_CLD_DATA_HARNESS_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/translate/cld_data_harness.h" | 9 #include "chrome/browser/translate/cld_data_harness.h" |
10 | 10 |
11 namespace test { | 11 namespace test { |
12 | 12 |
13 class ComponentCldDataHarness : public CldDataHarness { | 13 class ComponentCldDataHarness : public CldDataHarness { |
14 public: | 14 public: |
15 ComponentCldDataHarness(); | 15 ComponentCldDataHarness(); |
16 virtual ~ComponentCldDataHarness(); | 16 virtual ~ComponentCldDataHarness(); |
17 virtual void Init() OVERRIDE; | 17 virtual void Init() override; |
18 | 18 |
19 private: | 19 private: |
20 void ClearComponentDataFileState(); | 20 void ClearComponentDataFileState(); |
21 void GetExtractedComponentDestination(base::FilePath*); | 21 void GetExtractedComponentDestination(base::FilePath*); |
22 void GetComponentDataFileDestination(base::FilePath*); | 22 void GetComponentDataFileDestination(base::FilePath*); |
23 void DeleteComponentTree(); | 23 void DeleteComponentTree(); |
24 void CopyComponentTree(); | 24 void CopyComponentTree(); |
25 | 25 |
26 DISALLOW_COPY_AND_ASSIGN(ComponentCldDataHarness); | 26 DISALLOW_COPY_AND_ASSIGN(ComponentCldDataHarness); |
27 }; | 27 }; |
28 | 28 |
29 } // namespace test | 29 } // namespace test |
30 | 30 |
31 #endif // CHROME_BROWSER_TRANSLATE_COMPONENT_CLD_DATA_HARNESS_H_ | 31 #endif // CHROME_BROWSER_TRANSLATE_COMPONENT_CLD_DATA_HARNESS_H_ |
OLD | NEW |