OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_MUS_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_ | 5 #ifndef SERVICES_UI_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_ |
6 #define COMPONENTS_MUS_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_ | 6 #define SERVICES_UI_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_ |
7 | 7 |
8 #include "components/mus/common/mus_common_export.h" | 8 #include "services/ui/common/mus_common_export.h" |
9 #include "ui/gfx/generic_shared_memory_id.h" | 9 #include "ui/gfx/generic_shared_memory_id.h" |
10 | 10 |
11 namespace mus { | 11 namespace mus { |
12 | 12 |
13 // Returns the next GenericSharedMemoryId for the current process. This should | 13 // Returns the next GenericSharedMemoryId for the current process. This should |
14 // be used anywhere a new GenericSharedMemoryId is needed. | 14 // be used anywhere a new GenericSharedMemoryId is needed. |
15 MUS_COMMON_EXPORT gfx::GenericSharedMemoryId GetNextGenericSharedMemoryId(); | 15 MUS_COMMON_EXPORT gfx::GenericSharedMemoryId GetNextGenericSharedMemoryId(); |
16 | 16 |
17 } // namespace mus | 17 } // namespace mus |
18 | 18 |
19 #endif // COMPONENTS_MUS_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_ | 19 #endif // SERVICES_UI_COMMON_GENERIC_SHARED_MEMORY_ID_GENERATOR_H_ |
OLD | NEW |