42 lines
1.6 KiB
Diff
42 lines
1.6 KiB
Diff
From: Your Name <you@example.com>
|
|
Date: Thu, 13 Oct 2022 10:34:52 +0000
|
|
Subject: Fix windows build
|
|
|
|
---
|
|
chrome/browser/browser_process_platform_part_win.cc | 3 +++
|
|
chrome/browser/devtools/devtools_window.cc | 1 +
|
|
2 files changed, 4 insertions(+)
|
|
|
|
diff --git a/chrome/browser/browser_process_platform_part_win.cc b/chrome/browser/browser_process_platform_part_win.cc
|
|
--- a/chrome/browser/browser_process_platform_part_win.cc
|
|
+++ b/chrome/browser/browser_process_platform_part_win.cc
|
|
@@ -5,12 +5,15 @@
|
|
#include "chrome/browser/browser_process_platform_part_win.h"
|
|
|
|
#include "chrome/browser/active_use_util.h"
|
|
+#include "chrome/install_static/buildflags.h"
|
|
|
|
BrowserProcessPlatformPart::BrowserProcessPlatformPart() = default;
|
|
BrowserProcessPlatformPart::~BrowserProcessPlatformPart() = default;
|
|
|
|
void BrowserProcessPlatformPart::PlatformSpecificCommandLineProcessing(
|
|
const base::CommandLine& command_line) {
|
|
+#if BUILDFLAG(USE_GOOGLE_UPDATE_INTEGRATION)
|
|
if (!did_run_updater_ && ShouldRecordActiveUse(command_line))
|
|
did_run_updater_.emplace();
|
|
+#endif
|
|
}
|
|
diff --git a/chrome/browser/devtools/devtools_window.cc b/chrome/browser/devtools/devtools_window.cc
|
|
--- a/chrome/browser/devtools/devtools_window.cc
|
|
+++ b/chrome/browser/devtools/devtools_window.cc
|
|
@@ -80,6 +80,7 @@
|
|
#include "ui/events/keycodes/dom/keycode_converter.h"
|
|
#include "ui/events/keycodes/keyboard_code_conversion.h"
|
|
#include "ui/events/keycodes/keyboard_codes.h"
|
|
+#include "net/cert/x509_certificate.h"
|
|
|
|
// This should be after all other #includes.
|
|
#if defined(_WINDOWS_) // Detect whether windows.h was included.
|
|
--
|
|
2.25.1
|