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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 12662019: Split the ProcessType enum into process types that content knows about (which will remain in src\co… (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/policy/policy_browsertest.cc
===================================================================
--- chrome/browser/policy/policy_browsertest.cc (revision 189692)
+++ chrome/browser/policy/policy_browsertest.cc (working copy)
@@ -60,6 +60,7 @@
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_paths.h"
+#include "chrome/common/chrome_process_type.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/content_settings.h"
#include "chrome/common/extensions/extension.h"
@@ -362,8 +363,8 @@
int CountPluginsOnIOThread() {
int count = 0;
for (content::BrowserChildProcessHostIterator iter; !iter.Done(); ++iter) {
- if (iter.GetData().type == content::PROCESS_TYPE_PLUGIN ||
- iter.GetData().type == content::PROCESS_TYPE_PPAPI_PLUGIN) {
+ if (iter.GetData().process_type == content::PROCESS_TYPE_PLUGIN ||
+ iter.GetData().process_type == content::PROCESS_TYPE_PPAPI_PLUGIN) {
count++;
}
}

Powered by Google App Engine
This is Rietveld 408576698