Index: chrome/browser/task_manager/task_manager_resource_providers.cc |
=================================================================== |
--- chrome/browser/task_manager/task_manager_resource_providers.cc (revision 191609) |
+++ chrome/browser/task_manager/task_manager_resource_providers.cc (working copy) |
@@ -749,7 +749,7 @@ |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
WebContents* web_contents = content::Source<WebContents>(source).ptr(); |
- if (chrome::GetViewType(web_contents) != chrome::VIEW_TYPE_PANEL) |
+ if (chrome::GetViewType(web_contents) != extensions::VIEW_TYPE_PANEL) |
return; |
switch (type) { |
@@ -1409,8 +1409,8 @@ |
bool TaskManagerExtensionProcessResource::IsBackground() const { |
WebContents* web_contents = |
WebContents::FromRenderViewHost(render_view_host_); |
- chrome::ViewType view_type = chrome::GetViewType(web_contents); |
- return view_type == chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE; |
+ extensions::ViewType view_type = chrome::GetViewType(web_contents); |
+ return view_type == extensions::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE; |
} |
//////////////////////////////////////////////////////////////////////////////// |
@@ -1545,17 +1545,17 @@ |
// TaskManagerExtensionProcessResource constructor). |
if (web_contents->GetRenderProcessHost()->IsGuest()) |
return false; |
- chrome::ViewType view_type = chrome::GetViewType(web_contents); |
+ extensions::ViewType view_type = chrome::GetViewType(web_contents); |
// Don't add WebContents (those are handled by |
// TaskManagerTabContentsResourceProvider) or background contents (handled |
// by TaskManagerBackgroundResourceProvider). |
#if defined(USE_ASH) |
- return (view_type != chrome::VIEW_TYPE_TAB_CONTENTS && |
- view_type != chrome::VIEW_TYPE_BACKGROUND_CONTENTS); |
+ return (view_type != extensions::VIEW_TYPE_TAB_CONTENTS && |
+ view_type != extensions::VIEW_TYPE_BACKGROUND_CONTENTS); |
#else |
- return (view_type != chrome::VIEW_TYPE_TAB_CONTENTS && |
- view_type != chrome::VIEW_TYPE_BACKGROUND_CONTENTS && |
- view_type != chrome::VIEW_TYPE_PANEL); |
+ return (view_type != extensions::VIEW_TYPE_TAB_CONTENTS && |
+ view_type != extensions::VIEW_TYPE_BACKGROUND_CONTENTS && |
+ view_type != extensions::VIEW_TYPE_PANEL); |
#endif // USE_ASH |
} |