summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/namespace.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/www-client/chromium-73.0.3683.75/namespace.patch')
-rw-r--r--patches/www-client/chromium-73.0.3683.75/namespace.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/patches/www-client/chromium-73.0.3683.75/namespace.patch b/patches/www-client/chromium-73.0.3683.75/namespace.patch
new file mode 100644
index 0000000..50b5ce0
--- /dev/null
+++ b/patches/www-client/chromium-73.0.3683.75/namespace.patch
@@ -0,0 +1,68 @@
+description: jumbo build has trouble with these namespaces
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/chrome/browser/apps/platform_apps/api/sync_file_system/extension_sync_event_observer.h
++++ b/chrome/browser/apps/platform_apps/api/sync_file_system/extension_sync_event_observer.h
+@@ -81,8 +81,10 @@ class ExtensionSyncEventObserver : publi
+ } // namespace api
+ } // namespace chrome_apps
+
++namespace extensions {
+ template <>
+-void extensions::BrowserContextKeyedAPIFactory<
++void BrowserContextKeyedAPIFactory<
+ chrome_apps::api::ExtensionSyncEventObserver>::DeclareFactoryDependencies();
++}
+
+ #endif // CHROME_BROWSER_APPS_PLATFORM_APPS_API_SYNC_FILE_SYSTEM_EXTENSION_SYNC_EVENT_OBSERVER_H_
+--- a/third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h
++++ b/third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h
+@@ -12,14 +12,20 @@
+ #include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
+
+ // Conversion from CString to TraceValue so that trace arguments can be strings.
++namespace base {
++namespace trace_event {
++
+ template <>
+-struct base::trace_event::TraceValue::Helper<WTF::CString> {
++struct TraceValue::Helper<WTF::CString> {
+ static constexpr unsigned char kType = TRACE_VALUE_TYPE_COPY_STRING;
+ static inline void SetValue(TraceValue* v, const WTF::CString& value) {
+ v->as_string = value.data();
+ }
+ };
+
++} // namespace trace_event
++} // namespace base
++
+ namespace blink {
+ namespace trace_event {
+
+--- a/gin/v8_platform.cc
++++ b/gin/v8_platform.cc
+@@ -268,10 +268,13 @@ base::LazyInstance<PageAllocator>::Leaky
+
+ } // namespace gin
+
++namespace base {
++namespace trace_event {
++
+ // Allow std::unique_ptr<v8::ConvertableToTraceFormat> to be a valid
+ // initialization value for trace macros.
+ template <>
+-struct base::trace_event::TraceValue::Helper<
++struct TraceValue::Helper<
+ std::unique_ptr<v8::ConvertableToTraceFormat>> {
+ static constexpr unsigned char kType = TRACE_VALUE_TYPE_CONVERTABLE;
+ static inline void SetValue(
+@@ -284,6 +287,9 @@ struct base::trace_event::TraceValue::He
+ }
+ };
+
++} // namespace trace_event
++} // namespace base
++
+ namespace gin {
+
+ class V8Platform::TracingControllerImpl : public v8::TracingController {