summaryrefslogtreecommitdiffstats
path: root/chrome/browser/translate/component_cld_data_harness.h
blob: 0d8d9ec8af8489b70d0c70135419b82b31dec674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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_