Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1471)

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 1312653003: Fix for WebView accessible resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by kalman@. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 96e5fbff576f359e088cb9e4f2ed6823668c5b42..f3c68eaeb238966d6de6745a9606bdd61a754c61 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -72,6 +72,7 @@
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_system.h"
#include "extensions/browser/extensions_browser_client.h"
+#include "extensions/browser/guest_view/web_view/web_view_guest.h"
#include "extensions/browser/install_flag.h"
#include "extensions/browser/runtime_data.h"
#include "extensions/browser/uninstall_reason.h"
@@ -1045,8 +1046,9 @@ void ExtensionService::NotifyExtensionLoaded(const Extension* extension) {
std::vector<ExtensionMsg_Loaded_Params> loaded_extensions(
1, ExtensionMsg_Loaded_Params(extension,
false /* no tab permissions */));
- host->Send(
- new ExtensionMsg_Loaded(loaded_extensions));
+ host->Send(new ExtensionMsg_SetWebViewPartitionID(
+ extensions::WebViewGuest::GetPartitionID(host)));
not at google - send to devlin 2015/08/31 18:31:44 You should only need to tell host renderers about
paulmeyer 2015/08/31 21:40:08 Done.
+ host->Send(new ExtensionMsg_Loaded(loaded_extensions));
}
}
}

Powered by Google App Engine
This is Rietveld 408576698