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

Unified Diff: chrome/common/service_process_util.cc

Issue 186473002: Deprecate named base::SharedMemory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 6 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 | « base/metrics/stats_table.cc ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/service_process_util.cc
diff --git a/chrome/common/service_process_util.cc b/chrome/common/service_process_util.cc
index d542b74e368cb2553c6ab2cb5ed8cc1a2231ed61..0b239a2b81570728cf020a528777ca32ca9f45fe 100644
--- a/chrome/common/service_process_util.cc
+++ b/chrome/common/service_process_util.cc
@@ -223,8 +223,9 @@ bool ServiceProcessState::CreateSharedData() {
return false;
uint32 alloc_size = sizeof(ServiceProcessSharedData);
- if (!shared_mem_service_data->CreateNamed(GetServiceProcessSharedMemName(),
- true, alloc_size))
+ // TODO(viettrungluu): Named shared memory is deprecated (crbug.com/345734).
+ if (!shared_mem_service_data->CreateNamedDeprecated
+ (GetServiceProcessSharedMemName(), true, alloc_size))
return false;
if (!shared_mem_service_data->Map(alloc_size))
« no previous file with comments | « base/metrics/stats_table.cc ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698