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

Unified Diff: chrome/browser/experiments/memory_ablation_experiment.h

Issue 2896523004: Touch memory ablation payload in chunks. (Closed)
Patch Set: Clarify Unretained(this) Created 3 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 | « no previous file | chrome/browser/experiments/memory_ablation_experiment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/experiments/memory_ablation_experiment.h
diff --git a/chrome/browser/experiments/memory_ablation_experiment.h b/chrome/browser/experiments/memory_ablation_experiment.h
index 8684ac8bdf8649cdfc33cdf8b86770ac2e30c1b6..592cc5f2119d39b50142997b894b589a3caf385a 100644
--- a/chrome/browser/experiments/memory_ablation_experiment.h
+++ b/chrome/browser/experiments/memory_ablation_experiment.h
@@ -35,10 +35,12 @@ class MemoryAblationExperiment {
void Start(scoped_refptr<base::SequencedTaskRunner> task_runner, size_t size);
void AllocateMemory(size_t size);
- void TouchMemory();
+ void TouchMemory(size_t offset);
+ void ScheduleTouchMemory(size_t offset);
static MemoryAblationExperiment* GetInstance();
+ scoped_refptr<base::SequencedTaskRunner> task_runner_;
size_t memory_size_ = 0;
std::unique_ptr<uint8_t[]> memory_;
};
« no previous file with comments | « no previous file | chrome/browser/experiments/memory_ablation_experiment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698