[Presentation API, Android] Support for app messages
[chromium-blink-merge.git] / content / common / generic_shared_memory_id_generator.h
blob4640cc1cb07e3750d7e57107c69827b3a62fd9cd
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_
6 #define CONTENT_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_
8 #include "ui/gfx/generic_shared_memory_id.h"
9 #include "content/common/content_export.h"
11 namespace content {
13 // Returns the next GenericSharedMemoryId for the current process. This should
14 // be used anywhere a new GenericSharedMemoryId is needed.
15 CONTENT_EXPORT gfx::GenericSharedMemoryId GetNextGenericSharedMemoryId();
17 } // namespace content
19 #endif // CONTENT_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_