summaryrefslogtreecommitdiffstats
path: root/content/browser/site_per_process_browsertest.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-22 04:01:44 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-22 04:01:44 +0000
commit2f673064c29a9daa65b65a3c82ecfc2d0b52071b (patch)
tree6f94178e67193dac24afad46ce0c79603769a06a /content/browser/site_per_process_browsertest.cc
parent05086264505407827f1d8f0436cc9fe8d2e91cba (diff)
downloadchromium_src-2f673064c29a9daa65b65a3c82ecfc2d0b52071b.zip
chromium_src-2f673064c29a9daa65b65a3c82ecfc2d0b52071b.tar.gz
chromium_src-2f673064c29a9daa65b65a3c82ecfc2d0b52071b.tar.bz2
Remove two RenderViewHostObserver implementations in ChromeOS code and replace them with WebContentsObserver.
The code creates a RenderViewObserver in the renderer process to listen to navigation events and then sends IPCs to the creator. This isn't necessary since those events already get sent to the the browser process. I passed the unique_name of the frame to the WCO methods as they didn't have them. In a future change I will delete FrameSniffer. BUG=306569 R=armansito@chromium.org Review URL: https://codereview.chromium.org/29273004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230040 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/site_per_process_browsertest.cc')
-rw-r--r--content/browser/site_per_process_browsertest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index 8af5885..c288f3a 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -31,6 +31,7 @@ class SitePerProcessWebContentsObserver: public WebContentsObserver {
virtual void DidFailProvisionalLoad(
int64 frame_id,
+ const string16& frame_unique_name,
bool is_main_frame,
const GURL& validated_url,
int error_code,
@@ -42,6 +43,7 @@ class SitePerProcessWebContentsObserver: public WebContentsObserver {
virtual void DidCommitProvisionalLoadForFrame(
int64 frame_id,
+ const string16& frame_unique_name,
bool is_main_frame,
const GURL& url,
PageTransition transition_type,