Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ppapi / shared_impl / singleton_resource_id.h
blob4d34fd638bb07cc15d59711ffe59ecc8a0786f90
1 // Copyright (c) 2012 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 PPAPI_SHARED_IMPL_SINGLETON_RESOURCE_ID_H_
6 #define PPAPI_SHARED_IMPL_SINGLETON_RESOURCE_ID_H_
8 namespace ppapi {
10 // These IDs are used to access singleton resource objects using
11 // PPB_Instance_API.GetSingletonResource.
12 enum SingletonResourceID {
13 // TODO(raymes): The broker resource isn't really a singleton. This is only
14 // a hack until PPB_Broker trusted has been fully refactored to the new
15 // resource model.
16 BROKER_SINGLETON_ID,
17 BROWSER_FONT_SINGLETON_ID,
18 FILE_MAPPING_SINGLETON_ID,
19 FLASH_CLIPBOARD_SINGLETON_ID,
20 FLASH_FILE_SINGLETON_ID,
21 FLASH_FULLSCREEN_SINGLETON_ID,
22 FLASH_SINGLETON_ID,
23 GAMEPAD_SINGLETON_ID,
24 ISOLATED_FILESYSTEM_SINGLETON_ID,
25 NETWORK_PROXY_SINGLETON_ID,
26 PDF_SINGLETON_ID,
27 TRUETYPE_FONT_SINGLETON_ID,
28 UMA_SINGLETON_ID,
31 } // namespace ppapi
33 #endif // PPAPI_SHARED_IMPL_SINGLETON_RESOURCE_ID_H_