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

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

Issue 2255783003: Make the outdated build detector disabler load and run on XP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: suppress wstring warnings Created 4 years, 4 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/disable_outdated_build_detector.h
diff --git a/chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.h b/chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.h
index a2045d2dc7e92094b96961ddb11bfa29726ee279..88eb37c99b1cb62fa20ab9e51cbaf720cbcd8a5f 100644
--- a/chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.h
+++ b/chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.h
@@ -5,14 +5,8 @@
#ifndef CHROME_TOOLS_DISABLE_OUTDATED_BUILD_DETECTOR_DISABLE_OUTDATED_BUILD_DETECTOR_H_
#define CHROME_TOOLS_DISABLE_OUTDATED_BUILD_DETECTOR_DISABLE_OUTDATED_BUILD_DETECTOR_H_
-#include <stdint.h>
-
#include "chrome/tools/disable_outdated_build_detector/constants.h"
-namespace base {
-class CommandLine;
-}
-
// Disables the outdated build detector for organic installs of Chrome by
// switching the install to the AOHY non-organic brand code. Operates on
// per-user Chrome unless |command_line| contains the "--system-level" switch,
@@ -20,6 +14,6 @@ class CommandLine;
// is written to the registry in Chrome's ClientState key in accordance with the
// Google Update installer result API. Returns the process exit code for the
// operation.
-ExitCode DisableOutdatedBuildDetector(const base::CommandLine& command_line);
+ExitCode DisableOutdatedBuildDetector(const wchar_t* command_line);
#endif // CHROME_TOOLS_DISABLE_OUTDATED_BUILD_DETECTOR_DISABLE_OUTDATED_BUILD_DETECTOR_H_

Powered by Google App Engine
This is Rietveld 408576698