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

Unified Diff: content/common/child_process_info.h

Issue 8764021: Make TaskManager not use ChildProcessInfo. After this change, I will make BrowserChildProcessHost... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/task_manager/task_manager_resource_providers.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process_info.h
===================================================================
--- content/common/child_process_info.h (revision 112384)
+++ content/common/child_process_info.h (working copy)
@@ -49,18 +49,6 @@
// user-visible strings, or debugging pages like about:memory.
static std::string GetTypeNameInEnglish(content::ProcessType type);
- // We define the < operator so that the ChildProcessInfo can be used as a key
- // in a std::map.
- bool operator <(const ChildProcessInfo& rhs) const {
- if (process_.handle() != rhs.process_.handle())
- return process_ .handle() < rhs.process_.handle();
- return false;
- }
-
- bool operator ==(const ChildProcessInfo& rhs) const {
- return process_.handle() == rhs.process_.handle();
- }
-
// Generates a unique channel name for a child renderer/plugin process.
// The "instance" pointer value is baked into the channel id.
static std::string GenerateRandomChannelID(void* instance);
« no previous file with comments | « chrome/browser/task_manager/task_manager_resource_providers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698