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

Unified Diff: setup/setup_google_update.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « setup/setup_files_unittest.cc ('k') | setup/setup_google_update.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: setup/setup_google_update.h
diff --git a/setup/setup_google_update.h b/setup/setup_google_update.h
deleted file mode 100644
index 676acfd2ca80342dce87aa9f462b30ee9058ae21..0000000000000000000000000000000000000000
--- a/setup/setup_google_update.h
+++ /dev/null
@@ -1,119 +0,0 @@
-// Copyright 2007-2009 Google Inc.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ========================================================================
-
-#ifndef OMAHA_SETUP_SETUP_GOOGLE_UPDATE_H__
-#define OMAHA_SETUP_SETUP_GOOGLE_UPDATE_H__
-
-#include <windows.h>
-#include <atlstr.h>
-#include "base/basictypes.h"
-#include "omaha/base/constants.h"
-
-namespace omaha {
-
-class SetupGoogleUpdate {
- public:
- explicit SetupGoogleUpdate(bool is_machine);
- ~SetupGoogleUpdate();
-
- HRESULT FinishInstall();
-
- HRESULT InstallBrowserPlugins();
-
- // Uninstalls Google Update registrations created by FinishInstall().
- void Uninstall();
-
- // Build the command line to execute the installed core.
- CString BuildCoreProcessCommandLine() const;
-
- int extra_code1() const { return extra_code1_; }
-
- private:
- HRESULT FinishMachineInstall();
-
- // Installs appropriate launch mechanism(s) starts one of them if appropriate.
- HRESULT InstallLaunchMechanisms();
-
- // Uninstalls appropriate launch mechanism(s).
- void UninstallLaunchMechanisms();
-
- // Installs the scheduled task which runs the GoogleUpdate core.
- HRESULT InstallScheduledTask();
-
- // Installs the service and scheduled task.
- HRESULT InstallMachineLaunchMechanisms();
-
- // Add Google Update to the user's Run key.
- HRESULT InstallUserLaunchMechanisms();
-
- // Configures goopdate to run at startup.
- //
- // @param install: true if we should configure to run at startup, false if we
- // should clean up the configuration (meaning that we should not run at
- // startup)
- HRESULT ConfigureUserRunAtStartup(bool install);
-
- HRESULT InstallRegistryValues();
-
- // Create's the ClientStateMedium key with relaxed ACLs.
- // Only call for machine installs.
- HRESULT CreateClientStateMedium();
-
- // Writes the Installation ID to the registry.
- HRESULT SetInstallationId();
-
- // Register COM classes and interfaces.
- HRESULT RegisterOrUnregisterCOMLocalServer(bool register);
-
- // Installs the helper (MSI).
- HRESULT InstallMsiHelper();
-
- // Uninstalls the helper (MSI).
- HRESULT UninstallMsiHelper();
-
- HRESULT UninstallBrowserPlugins();
-
- // Build the install file path for support files. For example,
- CString BuildSupportFileInstallPath(const CString& filename) const;
-
- // Deletes the Omaha registry keys except the machine id and the user id
- // values under the main update key.
- HRESULT DeleteRegistryKeys();
-
- // Uninstall previous versions after an overinstall of the new version. We do
- // the following:
- // * Delete all sub-directories under Google\\Update, except the running
- // version's directory and the cache directory.
- // * Uninstall the BHO, so IE does not load it in the future.
- HRESULT UninstallPreviousVersions();
-
- const bool is_machine_;
- CString this_version_;
- int extra_code1_;
-
-#ifdef _DEBUG
- bool have_called_uninstall_previous_versions_;
-#endif
-
- friend class SetupGoogleUpdateTest;
- friend class AppManagerTestBase;
-
- DISALLOW_EVIL_CONSTRUCTORS(SetupGoogleUpdate);
-};
-
-} // namespace omaha
-
-#endif // OMAHA_SETUP_SETUP_GOOGLE_UPDATE_H__
-
« no previous file with comments | « setup/setup_files_unittest.cc ('k') | setup/setup_google_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698