Chromium Code Reviews| Index: chrome/browser/extensions/lazy_background_task_queue.cc |
| =================================================================== |
| --- chrome/browser/extensions/lazy_background_task_queue.cc (revision 191609) |
| +++ chrome/browser/extensions/lazy_background_task_queue.cc (working copy) |
| @@ -15,12 +15,12 @@ |
| #include "chrome/common/extensions/background_info.h" |
| #include "chrome/common/extensions/extension.h" |
| #include "chrome/common/extensions/extension_messages.h" |
| -#include "chrome/common/view_type.h" |
| #include "content/public/browser/notification_service.h" |
| #include "content/public/browser/render_process_host.h" |
| #include "content/public/browser/render_view_host.h" |
| #include "content/public/browser/site_instance.h" |
| #include "content/public/browser/web_contents.h" |
| +#include "extensions/common/view_type.h" |
| namespace extensions { |
| @@ -129,7 +129,7 @@ |
| ExtensionHost* host = |
| content::Details<ExtensionHost>(details).ptr(); |
| if (host->extension_host_type() == |
| - chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) { |
| + extensions::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) { |
|
Yoyo Zhou
2013/04/01 17:36:51
''
|
| CHECK(host->did_stop_loading()); |
| ProcessPendingTasks(host, host->profile(), host->extension()); |
| } |
| @@ -144,7 +144,7 @@ |
| ExtensionHost* host = |
| content::Details<ExtensionHost>(details).ptr(); |
| if (host->extension_host_type() == |
| - chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) { |
| + extensions::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) { |
| ProcessPendingTasks(NULL, profile, host->extension()); |
| } |
| break; |