summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/background_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/background_contents.cc')
-rw-r--r--chrome/browser/tab_contents/background_contents.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc
index 0876419..d4a0a19 100644
--- a/chrome/browser/tab_contents/background_contents.cc
+++ b/chrome/browser/tab_contents/background_contents.cc
@@ -154,14 +154,11 @@ WebPreferences BackgroundContents::GetWebkitPrefs() {
false); // is_dom_ui
}
-void BackgroundContents::ProcessDOMUIMessage(const std::string& message,
- const ListValue* content,
- const GURL& source_url,
- int request_id,
- bool has_callback) {
+void BackgroundContents::ProcessDOMUIMessage(
+ const ViewHostMsg_DomMessage_Params& params) {
// TODO(rafaelw): It may make sense for extensions to be able to open
// BackgroundContents to chrome-extension://<id> pages. Consider implementing.
- render_view_host_->BlockExtensionRequest(request_id);
+ render_view_host_->BlockExtensionRequest(params.request_id);
}
void BackgroundContents::CreateNewWindow(