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

Unified Diff: chrome/browser/translate/component_cld_data_harness.h

Issue 2034413003: Delete the non-static CLD data source logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest master Created 4 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/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
deleted file mode 100644
index d3da55dc6d961c6747e01efa0fd4893838cce20c..0000000000000000000000000000000000000000
--- a/chrome/browser/translate/component_cld_data_harness.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// 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 {
-
-// Utility class that sets up a test harness suitable for injecting a
-// component-updater-based CLD data file into the runtime. See CldDataHarness
-// class for more details.
-class ComponentCldDataHarness : public CldDataHarness {
- public:
- ComponentCldDataHarness() {}
- ~ComponentCldDataHarness() override;
- 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_
« no previous file with comments | « chrome/browser/translate/cld_data_harness_factory.cc ('k') | chrome/browser/translate/component_cld_data_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698