mirror of
https://github.com/morgan9e/helium
synced 2026-04-15 00:44:06 +09:00
patches/helium/core: fix incorrect header guards
This commit is contained in:
@@ -472,8 +472,8 @@
|
||||
+// You can use, redistribute, and/or modify this source code under
|
||||
+// the terms of the GPL-3.0 license that can be found in the LICENSE file.
|
||||
+
|
||||
+#ifndef COMPONENTS_SEARCH_ENGINES_BANG_PROVIDER_H_
|
||||
+#define COMPONENTS_SEARCH_ENGINES_BANG_PROVIDER_H_
|
||||
+#ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_BANG_MANAGER_H_
|
||||
+#define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_BANG_MANAGER_H_
|
||||
+
|
||||
+#include <memory>
|
||||
+#include <string>
|
||||
@@ -541,7 +541,7 @@
|
||||
+ };
|
||||
+}
|
||||
+
|
||||
+#endif // COMPONENTS_SEARCH_ENGINES_BANG_PROVIDER_H_
|
||||
+#endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_BANG_MANAGER_H_
|
||||
+
|
||||
--- a/components/omnibox/browser/autocomplete_input.cc
|
||||
+++ b/components/omnibox/browser/autocomplete_input.cc
|
||||
|
||||
@@ -201,8 +201,8 @@
|
||||
+// You can use, redistribute, and/or modify this source code under
|
||||
+// the terms of the GPL-3.0 license that can be found in the LICENSE file.
|
||||
+
|
||||
+#ifndef CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_PAGE_H_
|
||||
+#define CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_PAGE_H_
|
||||
+#ifndef CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_PAGE_UI_H_
|
||||
+#define CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_PAGE_UI_H_
|
||||
+
|
||||
+#include "chrome/common/webui_url_constants.h"
|
||||
+#include "content/public/browser/webui_config.h"
|
||||
@@ -227,7 +227,7 @@
|
||||
+ ~HeliumOnboardingPage() override;
|
||||
+};
|
||||
+
|
||||
+#endif // CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_PAGE_H_
|
||||
+#endif // CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_PAGE_UI_H_
|
||||
--- /dev/null
|
||||
+++ b/chrome/browser/ui/webui/onboarding/onboarding_handler.cc
|
||||
@@ -0,0 +1,190 @@
|
||||
|
||||
@@ -410,8 +410,8 @@
|
||||
+// You can use, redistribute, and/or modify this source code under
|
||||
+// the terms of the GPL-3.0 license that can be found in the LICENSE file.
|
||||
+
|
||||
+#ifndef COMPONENTS_HELIUM_SEREVICES_HELIUM_SERVICES_HELPERS_H_
|
||||
+#define COMPONENTS_HELIUM_SEREVICES_HELIUM_SERVICES_HELPERS_H_
|
||||
+#ifndef COMPONENTS_HELIUM_SERVICES_HELIUM_SERVICES_HELPERS_H_
|
||||
+#define COMPONENTS_HELIUM_SERVICES_HELIUM_SERVICES_HELPERS_H_
|
||||
+
|
||||
+#include "base/functional/bind.h"
|
||||
+#include "components/prefs/pref_change_registrar.h"
|
||||
@@ -433,7 +433,7 @@
|
||||
+ PrefChangeRegistrar& registrar, const base::RepeatingClosure& observer);
|
||||
+} // namespace helium
|
||||
+
|
||||
+#endif // COMPONENTS_HELIUM_SEREVICES_HELIUM_SERVICES_HELPERS_H_
|
||||
+#endif // COMPONENTS_HELIUM_SERVICES_HELIUM_SERVICES_HELPERS_H_
|
||||
--- /dev/null
|
||||
+++ b/components/helium_services/pref_names.h
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
Reference in New Issue
Block a user