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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 11968054: <webview>: Implement ExecuteScript (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 7 years, 11 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: content/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index c0abe83acfbdcadfda9e6fb95c1bccde63b2e943..5fb9818be8c245a8963f8443596262d484673b8d 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -77,7 +77,10 @@ class CONTENT_EXPORT BrowserPlugin :
NPObject* GetContentWindow() const;
// Returns Chrome's process ID for the current guest.
- int process_id() const { return process_id_; }
+ int guest_process_id() const { return guest_process_id_; }
+ // Returns Chrome's route ID for the current guest.
+ int guest_route_id() const { return guest_route_id_; }
+
// The partition identifier string is stored as UTF-8.
std::string GetPartitionAttribute() const;
// Query whether the guest can navigate back to the previous entry.
@@ -301,7 +304,8 @@ class CONTENT_EXPORT BrowserPlugin :
int max_width_;
int min_height_;
int min_width_;
- int process_id_;
+ int guest_process_id_;
+ int guest_route_id_;
std::string storage_partition_id_;
bool persist_storage_;
bool valid_partition_id_;

Powered by Google App Engine
This is Rietveld 408576698