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

Unified Diff: chrome/renderer/user_script_idle_scheduler.cc

Issue 6794035: Move dispatching and sending of the last extension specific messages out of TabContents and Rende... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/renderer/user_script_idle_scheduler.cc
===================================================================
--- chrome/renderer/user_script_idle_scheduler.cc (revision 80315)
+++ chrome/renderer/user_script_idle_scheduler.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -113,7 +113,7 @@
const ExtensionMsg_ExecuteCode_Params& params) {
WebFrame* main_frame = GetMainFrame();
if (!main_frame) {
- Send(new ViewHostMsg_ExecuteCodeFinished(
+ Send(new ExtensionHostMsg_ExecuteCodeFinished(
routing_id(), params.request_id, false));
return;
}
@@ -163,7 +163,7 @@
}
}
- Send(new ViewHostMsg_ExecuteCodeFinished(
+ Send(new ExtensionHostMsg_ExecuteCodeFinished(
routing_id(), params.request_id, true));
}

Powered by Google App Engine
This is Rietveld 408576698