Skip to content

Commit 150433c

Browse files
committed
Add BraveExtensionsAPIProvider last
Otherwise the re-used bindings will use the wrong ones
1 parent 94e143f commit 150433c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/chrome/common/extensions/chrome_extensions_client.cc b/chrome/common/extensions/chrome_extensions_client.cc
2-
index 254dc0ab4d12b359bbe9fea03f2cb17dadce0050..786c8391539cdaa8542e7256cbb6e4876f9f29fc 100644
2+
index 254dc0ab4d12b359bbe9fea03f2cb17dadce0050..bbfb8cd408ef9989695e4baf58bc4a0272ba8a0d 100644
33
--- a/chrome/common/extensions/chrome_extensions_client.cc
44
+++ b/chrome/common/extensions/chrome_extensions_client.cc
55
@@ -13,6 +13,7 @@
@@ -10,11 +10,11 @@ index 254dc0ab4d12b359bbe9fea03f2cb17dadce0050..786c8391539cdaa8542e7256cbb6e487
1010
#include "chrome/common/chrome_content_client.h"
1111
#include "chrome/common/chrome_switches.h"
1212
#include "chrome/common/extensions/api/extension_action/action_info.h"
13-
@@ -80,6 +81,7 @@ ChromeChannelForHistogram GetChromeChannelForHistogram(
14-
} // namespace
15-
13+
@@ -82,6 +83,7 @@ ChromeChannelForHistogram GetChromeChannelForHistogram(
1614
ChromeExtensionsClient::ChromeExtensionsClient() {
17-
+ AddAPIProvider(std::make_unique<BraveExtensionsAPIProvider>());
1815
AddAPIProvider(std::make_unique<ChromeExtensionsAPIProvider>());
1916
AddAPIProvider(std::make_unique<CoreExtensionsAPIProvider>());
17+
+ AddAPIProvider(std::make_unique<BraveExtensionsAPIProvider>());
2018
}
19+
20+
ChromeExtensionsClient::~ChromeExtensionsClient() {

0 commit comments

Comments
 (0)