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

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

Issue 10824030: Move ExtensionHost into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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
« no previous file with comments | « chrome/browser/extensions/lazy_background_task_queue.h ('k') | chrome/browser/extensions/message_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/lazy_background_task_queue.cc
diff --git a/chrome/browser/extensions/lazy_background_task_queue.cc b/chrome/browser/extensions/lazy_background_task_queue.cc
index 89bf38e71e2b4daaaaec65d2bf267afbe8d835e8..b449f88d424bab45baa6d4df5a86684560440453 100644
--- a/chrome/browser/extensions/lazy_background_task_queue.cc
+++ b/chrome/browser/extensions/lazy_background_task_queue.cc
@@ -143,7 +143,8 @@ void LazyBackgroundTaskQueue::Observe(
case chrome::NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING: {
// If an on-demand background page finished loading, dispatch queued up
// events for it.
- ExtensionHost* host = content::Details<ExtensionHost>(details).ptr();
+ ExtensionHost* host =
+ content::Details<ExtensionHost>(details).ptr();
if (host->extension_host_type() ==
chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) {
CHECK(host->did_stop_loading());
@@ -153,7 +154,8 @@ void LazyBackgroundTaskQueue::Observe(
}
case chrome::NOTIFICATION_EXTENSION_HOST_DESTROYED: {
Profile* profile = content::Source<Profile>(source).ptr();
- ExtensionHost* host = content::Details<ExtensionHost>(details).ptr();
+ ExtensionHost* host =
+ content::Details<ExtensionHost>(details).ptr();
if (host->extension_host_type() ==
chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) {
PendingTasksKey key(profile, host->extension()->id());
« no previous file with comments | « chrome/browser/extensions/lazy_background_task_queue.h ('k') | chrome/browser/extensions/message_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698