summaryrefslogtreecommitdiffstats
path: root/base/tracked_objects.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 20:04:17 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 20:04:17 +0000
commit9958a32c22a0a5ae4ec33fbb96e3ce6f46cfc058 (patch)
treea8acd09e66c190666d1c4b06828b725659de4ad9 /base/tracked_objects.h
parent16dfd3504683d67a3aa5c4cdd7f8e5fa509fb714 (diff)
downloadchromium_src-9958a32c22a0a5ae4ec33fbb96e3ce6f46cfc058.zip
chromium_src-9958a32c22a0a5ae4ec33fbb96e3ce6f46cfc058.tar.gz
chromium_src-9958a32c22a0a5ae4ec33fbb96e3ce6f46cfc058.tar.bz2
Add/improve a bunch of comments
Also remove mention of about:tasks in release build, where we don't generate any data for that about page. R=eroman Review URL: http://codereview.chromium.org/6626064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/tracked_objects.h')
-rw-r--r--base/tracked_objects.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/base/tracked_objects.h b/base/tracked_objects.h
index ac49225..3994d80 100644
--- a/base/tracked_objects.h
+++ b/base/tracked_objects.h
@@ -357,7 +357,7 @@ class Aggregation: public DeathData {
//------------------------------------------------------------------------------
// Comparator is a class that supports the comparison of Snapshot instances.
// An instance is actually a list of chained Comparitors, that can provide for
-// arbitrary ordering. The path portion of an about:objects URL is translated
+// arbitrary ordering. The path portion of an about:tasks URL is translated
// into such a chain, which is then used to order Snapshot instances in a
// vector. It orders them into groups (for aggregation), and can also order
// instances within the groups (for detailed rendering of the instances in an
@@ -423,7 +423,7 @@ class Comparator {
// Translate a keyword and restriction in URL path to a selector for sorting.
void ParseKeyphrase(const std::string& key_phrase);
- // Parse a query in an about:objects URL to decide on sort ordering.
+ // Parse a query in an about:tasks URL to decide on sort ordering.
bool ParseQuery(const std::string& query);
// Output a header line that can be used to indicated what items will be
@@ -479,8 +479,7 @@ class ThreadData {
// return null.
static ThreadData* current();
- // For a given about:objects URL, develop resulting HTML, and append to
- // output.
+ // For a given about:tasks URL, develop resulting HTML, and append to output.
static void WriteHTML(const std::string& query, std::string* output);
// For a given accumulated array of results, use the comparator to sort and
@@ -505,7 +504,7 @@ class ThreadData {
// Using our lock, make a copy of the specified maps. These calls may arrive
// from non-local threads, and are used to quickly scan data from all threads
- // in order to build an HTML page for about:objects.
+ // in order to build an HTML page for about:tasks.
void SnapshotBirthMap(BirthMap *output) const;
void SnapshotDeathMap(DeathMap *output) const;