Index: chrome/test/mini_installer_test/installer_path_provider.h |
diff --git a/chrome/test/mini_installer_test/installer_path_provider.h b/chrome/test/mini_installer_test/installer_path_provider.h |
deleted file mode 100644 |
index 98e1b7788374164ddbea3ae6c0c82f4a8f98662c..0000000000000000000000000000000000000000 |
--- a/chrome/test/mini_installer_test/installer_path_provider.h |
+++ /dev/null |
@@ -1,49 +0,0 @@ |
-// Copyright (c) 2012 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_TEST_MINI_INSTALLER_TEST_INSTALLER_PATH_PROVIDER_H_ |
-#define CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_PATH_PROVIDER_H_ |
- |
-#include "base/basictypes.h" |
-#include "base/files/file_path.h" |
- |
-namespace installer_test { |
- |
-// Locate and provides path for installers. |
-// Search for latest installer binaries in the filer directory defined by |
-// mini_installer_constants::kChromeInstallersLocation. |
-class InstallerPathProvider { |
- public: |
- // Search for latest installer binaries in filer. |
- InstallerPathProvider(); |
- |
- explicit InstallerPathProvider(const std::string& build_under_test); |
- ~InstallerPathProvider(); |
- |
- bool GetFullInstaller(base::FilePath* path); |
- bool GetDiffInstaller(base::FilePath* path); |
- bool GetMiniInstaller(base::FilePath* path); |
- bool GetPreviousInstaller(base::FilePath* path); |
- bool GetStandaloneInstaller(base::FilePath* path); |
- bool GetSignedStandaloneInstaller(base::FilePath* path); |
- |
- std::string GetCurrentBuild(); |
- std::string GetPreviousBuild(); |
- |
- private: |
- // Returns the local file path for the given file |name|. |
- // Assumes file is located in the current working directory. |
- base::FilePath PathFromExeDir(const base::FilePath::StringType& name); |
- |
- bool GetInstaller(const std::string& pattern, base::FilePath* path); |
- |
- // Build numbers. |
- std::string current_build_, previous_build_; |
- |
- DISALLOW_COPY_AND_ASSIGN(InstallerPathProvider); |
-}; |
- |
-} // namespace |
- |
-#endif // CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_PATH_PROVIDER_H_ |