Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow setting of global fallback user agent
- Loading branch information
1 parent
6b16695
commit 51d7744
Showing
12 changed files
with
143 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
patches/common/chromium/chore_expose_getcontentclient_to_embedders.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Samuel Attard <sattard@slack-corp.com> | ||
Date: Wed, 1 May 2019 18:04:41 -0700 | ||
Subject: chore: expose GetContentClient to embedders | ||
|
||
|
||
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h | ||
index 528fd6abf6a623b8076803fddf5616d88f0978e8..e03bfeff5dabd55fe548ba828ae30065ba3f42d6 100644 | ||
--- a/content/public/common/content_client.h | ||
+++ b/content/public/common/content_client.h | ||
@@ -58,10 +58,10 @@ struct PepperPluginInfo; | ||
// content code is called. | ||
CONTENT_EXPORT void SetContentClient(ContentClient* client); | ||
|
||
-#if defined(CONTENT_IMPLEMENTATION) | ||
+//#if defined(CONTENT_IMPLEMENTATION) | ||
// Content's embedder API should only be used by content. | ||
-ContentClient* GetContentClient(); | ||
-#endif | ||
+CONTENT_EXPORT ContentClient* GetContentClient(); | ||
+//#endif | ||
|
||
// Used for tests to override the relevant embedder interfaces. Each method | ||
// returns the old value. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters