| Index: content/common/generic_shared_memory_id_generator.h
|
| diff --git a/content/common/generic_shared_memory_id_generator.h b/content/common/generic_shared_memory_id_generator.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1cf917e9986c37f1df97e20d1898a3618c505735
|
| --- /dev/null
|
| +++ b/content/common/generic_shared_memory_id_generator.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_
|
| +#define CONTENT_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_
|
| +
|
| +#include "base/memory/generic_shared_memory_id.h"
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace content {
|
| +
|
| +// Returns the next GenericSharedMemoryId for the current process. This should
|
| +// be used anywhere a new GenericSharedMemoryId is needed.
|
| +CONTENT_EXPORT base::memory::GenericSharedMemoryId
|
| +GetNextGenericSharedMemoryId();
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_
|
|
|