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

Unified Diff: chrome/installer/util/chrome_binaries_operations.h

Issue 2621713004: Remove *BinariesDistribution and ChromeBinariesOperations from installer_util. (Closed)
Patch Set: sync to position 442533 Created 3 years, 11 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/installer/util/chrome_binaries_operations.h
diff --git a/chrome/installer/util/chrome_binaries_operations.h b/chrome/installer/util/chrome_binaries_operations.h
deleted file mode 100644
index 7e2404ec0aea222a1f08a69cc94f45b6a21e4de6..0000000000000000000000000000000000000000
--- a/chrome/installer/util/chrome_binaries_operations.h
+++ /dev/null
@@ -1,58 +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_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_
-#define CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "chrome/installer/util/product_operations.h"
-
-namespace installer {
-
-// Operations specific to the Chrome Binaries; see ProductOperations for general
-// info.
-class ChromeBinariesOperations : public ProductOperations {
- public:
- ChromeBinariesOperations() {}
-
- void ReadOptions(const MasterPreferences& prefs,
- std::set<base::string16>* options) const override;
-
- void ReadOptions(const base::CommandLine& uninstall_command,
- std::set<base::string16>* options) const override;
-
- void AddKeyFiles(const std::set<base::string16>& options,
- std::vector<base::FilePath>* key_files) const override;
-
- void AppendProductFlags(const std::set<base::string16>& options,
- base::CommandLine* cmd_line) const override;
-
- void AppendRenameFlags(const std::set<base::string16>& options,
- base::CommandLine* cmd_line) const override;
-
- bool SetChannelFlags(const std::set<base::string16>& options,
- bool set,
- ChannelInfo* channel_info) const override;
-
- bool ShouldCreateUninstallEntry(
- const std::set<base::string16>& options) const override;
-
- void AddDefaultShortcutProperties(
- BrowserDistribution* dist,
- const base::FilePath& target_exe,
- ShellUtil::ShortcutProperties* properties) const override;
-
- void LaunchUserExperiment(const base::FilePath& setup_path,
- const std::set<base::string16>& options,
- InstallStatus status,
- bool system_level) const override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ChromeBinariesOperations);
-};
-
-} // namespace installer
-
-#endif // CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_

Powered by Google App Engine
This is Rietveld 408576698