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

Unified Diff: extensions/browser/guest_view/web_view/web_view_guest.h

Issue 1312653003: Fix for WebView accessible resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fix. Rebased. Created 5 years, 3 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: extensions/browser/guest_view/web_view/web_view_guest.h
diff --git a/extensions/browser/guest_view/web_view/web_view_guest.h b/extensions/browser/guest_view/web_view/web_view_guest.h
index 9144c68a683023b6d80b98517a553bd56e8f5374..1f1a1ad2d62fb1ce0e6123b794e38eab546c3079 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.h
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h
@@ -60,6 +60,12 @@ class WebViewGuest : public guest_view::GuestView<WebViewGuest>,
std::string* partition_name,
bool* in_memory);
+ // Returns the WebView partition ID associated with the render process
+ // represented by |render_process_host|, if any. Otherwise, an empty string is
+ // returned.
+ static std::string GetPartitionID(
+ const content::RenderProcessHost* render_process_host);
+
static const char Type[];
// Returns the stored rules registry ID of the given webview. Will generate

Powered by Google App Engine
This is Rietveld 408576698