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

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

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 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_crash_recovery_browsertest.cc
diff --git a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc
index 553904eec1609e96a0d877f401319caf9c5e4e4f..300e04efe0995dfd12fae8e118a53eb442bbd769 100644
--- a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc
+++ b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -75,7 +75,7 @@ class ExtensionCrashRecoveryTest : public ExtensionBrowserTest {
ASSERT_TRUE(extension_host);
content::RenderProcessHost* extension_rph =
- extension_host->render_view_host()->process();
+ extension_host->render_view_host()->GetProcess();
base::KillProcess(extension_rph->GetHandle(), content::RESULT_CODE_KILLED,
false);
ASSERT_TRUE(WaitForExtensionCrash(extension_id));
@@ -95,7 +95,8 @@ class ExtensionCrashRecoveryTest : public ExtensionBrowserTest {
extensions::ProcessMap* process_map =
browser()->profile()->GetExtensionService()->process_map();
ASSERT_TRUE(process_map->Contains(
- extension_id, extension_host->render_view_host()->process()->GetID()));
+ extension_id,
+ extension_host->render_view_host()->GetProcess()->GetID()));
}
void LoadTestExtension() {
« no previous file with comments | « chrome/browser/extensions/extension_browsertests_misc.cc ('k') | chrome/browser/extensions/extension_debugger_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698