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

Unified Diff: chrome/browser/chromeos/oom_priority_manager.cc

Issue 10332255: Fix typos in field trial for low memory experiment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/oom_priority_manager.cc
diff --git a/chrome/browser/chromeos/oom_priority_manager.cc b/chrome/browser/chromeos/oom_priority_manager.cc
index 07dd1fc927dc314dec72edd658b832b6136b4be8..12e291a9861edf697a4bfe731142fe33660a98c8 100644
--- a/chrome/browser/chromeos/oom_priority_manager.cc
+++ b/chrome/browser/chromeos/oom_priority_manager.cc
@@ -52,11 +52,13 @@ namespace {
const char kExperiment[] = "LowMemoryMargin";
#define EXPERIMENT_CUSTOM_COUNTS(name, sample, min, max, buckets) \
+ { \
James Cook 2012/05/21 05:11:56 nit: Not sure how to indent here... maybe indent 4
Greg Spencer (Chromium) 2012/05/21 16:48:50 OK, indented the whole thing by another two spaces
UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, buckets); \
if (base::FieldTrialList::TrialExists(kExperiment)) \
UMA_HISTOGRAM_CUSTOM_COUNTS( \
base::FieldTrial::MakeName(name, kExperiment), \
- sample, min, max, buckets);
+ sample, min, max, buckets); \
+ }
// Record a size in megabytes, over a potential interval up to 32 GB.
#define EXPERIMENT_HISTOGRAM_MEGABYTES(name, sample) \
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698