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

Unified Diff: chrome/browser/memory_details.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/memory_details.cc
===================================================================
--- chrome/browser/memory_details.cc (revision 191609)
+++ chrome/browser/memory_details.cc (working copy)
@@ -252,7 +252,7 @@
GURL url;
if (contents)
url = contents->GetURL();
- chrome::ViewType type = chrome::GetViewType(contents);
+ extensions::ViewType type = chrome::GetViewType(contents);
if (host->GetEnabledBindings() & content::BINDINGS_POLICY_WEB_UI) {
process.renderer_type = ProcessMemoryInformation::RENDERER_CHROME;
} else if (extension_process_map &&
@@ -292,14 +292,14 @@
continue;
}
- if (type == chrome::VIEW_TYPE_BACKGROUND_CONTENTS) {
+ if (type == extensions::VIEW_TYPE_BACKGROUND_CONTENTS) {
process.titles.push_back(UTF8ToUTF16(url.spec()));
process.renderer_type =
ProcessMemoryInformation::RENDERER_BACKGROUND_APP;
continue;
}
- if (type == chrome::VIEW_TYPE_NOTIFICATION) {
+ if (type == extensions::VIEW_TYPE_NOTIFICATION) {
process.titles.push_back(UTF8ToUTF16(url.spec()));
process.renderer_type =
ProcessMemoryInformation::RENDERER_NOTIFICATION;

Powered by Google App Engine
This is Rietveld 408576698