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

Unified Diff: base/metrics/persistent_histogram_allocator.h

Issue 2715543005: Clean up: Remove GlobalHistogramAllocator::CreateWithSharedMemory (Closed)
Patch Set: Created 3 years, 10 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 | base/metrics/persistent_histogram_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/persistent_histogram_allocator.h
diff --git a/base/metrics/persistent_histogram_allocator.h b/base/metrics/persistent_histogram_allocator.h
index 2eb28dfaf5b4258d32b926bd63710c61891b0da1..851d7ef5a4eabdaef66fbc6a2e96e10f8216b136 100644
--- a/base/metrics/persistent_histogram_allocator.h
+++ b/base/metrics/persistent_histogram_allocator.h
@@ -431,15 +431,6 @@ class BASE_EXPORT GlobalHistogramAllocator
FilePath* out_active_path);
#endif
- // Create a global allocator using a block of shared |memory| of the
- // specified |size|. The allocator takes ownership of the shared memory
- // and releases it upon destruction, though the memory will continue to
- // live if other processes have access to it.
- static void CreateWithSharedMemory(std::unique_ptr<SharedMemory> memory,
- size_t size,
- uint64_t id,
- StringPiece name);
-
// Create a global allocator using a block of shared memory accessed
// through the given |handle| and |size|. The allocator takes ownership
// of the handle and closes it upon destruction, though the memory will
« no previous file with comments | « no previous file | base/metrics/persistent_histogram_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698