BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / translate / standalone_cld_data_harness.h
blob08af5e2c81a48065b34aaed1812762961960910b
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.
5 #ifndef CHROME_BROWSER_TRANSLATE_STANDALONE_CLD_DATA_HARNESS_H_
6 #define CHROME_BROWSER_TRANSLATE_STANDALONE_CLD_DATA_HARNESS_H_
8 #include "base/macros.h"
9 #include "chrome/browser/translate/cld_data_harness.h"
11 namespace test {
13 // Utility class that sets up a test harness suitable for injecting a standalone
14 // CLD data file into the runtime. See CldDataHarness class for more details.
15 class StandaloneCldDataHarness : public CldDataHarness {
16 public:
17 StandaloneCldDataHarness() {}
18 ~StandaloneCldDataHarness() override;
19 void Init() override;
21 private:
22 void GetStandaloneDataFileSource(base::FilePath*);
23 void GetStandaloneDataFileDestination(base::FilePath*);
24 void DeleteStandaloneDataFile();
25 void CopyStandaloneDataFile();
27 DISALLOW_COPY_AND_ASSIGN(StandaloneCldDataHarness);
30 } // namespace test
32 #endif // CHROME_BROWSER_TRANSLATE_STANDALONE_CLD_DATA_HARNESS_H_