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

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

Issue 13375017: Move the ViewType enum to extensions\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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/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;

Powered by Google App Engine
This is Rietveld 408576698