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

Unified Diff: chrome/tools/disable_outdated_build_detector/google_update_integration.h

Issue 2328493002: Remove the tool to disable the outdated build detector for organic installs of Chrome. (Closed)
Patch Set: Created 4 years, 3 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/tools/disable_outdated_build_detector/google_update_integration.h
diff --git a/chrome/tools/disable_outdated_build_detector/google_update_integration.h b/chrome/tools/disable_outdated_build_detector/google_update_integration.h
deleted file mode 100644
index 9d4e1da1d0142b0bac010661e23d8f598f10d4c1..0000000000000000000000000000000000000000
--- a/chrome/tools/disable_outdated_build_detector/google_update_integration.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2016 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_TOOLS_DISABLE_OUTDATED_BUILD_DETECTOR_GOOGLE_UPDATE_INTEGRATION_H_
-#define CHROME_TOOLS_DISABLE_OUTDATED_BUILD_DETECTOR_GOOGLE_UPDATE_INTEGRATION_H_
-
-#include <windows.h>
-#include <stdint.h>
-
-#include <string>
-
-#include "chrome/tools/disable_outdated_build_detector/constants.h"
-
-// A structure containing the values that comprise the Google Update installer
-// result API.
-struct ResultInfo {
- InstallerResult installer_result;
- ExitCode installer_error;
- uint32_t installer_extra_code1;
-};
-
-// An identifier of an app's registration with Google Update.
-enum class App {
- CHROME_BROWSER,
- CHROME_BINARIES,
-};
-
-// Opens the Google Update ClientState key in the registry for the app
-// identified by |app| at |system_level|. Returns ERROR_SUCCESS or another
-// Windows error value. On success, the caller is responsible for calling
-// RegCloseKey.
-uint32_t OpenClientStateKey(bool system_level, App app, HKEY* key);
-
-// Writes the data in |result_info| into Chrome's ClientState key.
-void WriteResultInfo(bool system_level, const ResultInfo& result_info);
-
-// Returns |true| if |brand| represents an organic brand code.
-// presubmit: allow wstring
-bool IsOrganic(const std::wstring& brand);
-
-#endif // CHROME_TOOLS_DISABLE_OUTDATED_BUILD_DETECTOR_GOOGLE_UPDATE_INTEGRATION_H_

Powered by Google App Engine
This is Rietveld 408576698