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

Side by Side Diff: ppapi/shared_impl/singleton_resource_id.h

Issue 598183002: Pepper: PPB_Mojo prototype. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « ppapi/shared_impl/resource.h ('k') | ppapi/thunk/interfaces_ppb_public_stable.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 PPAPI_SHARED_IMPL_SINGLETON_RESOURCE_ID_H_ 5 #ifndef PPAPI_SHARED_IMPL_SINGLETON_RESOURCE_ID_H_
6 #define PPAPI_SHARED_IMPL_SINGLETON_RESOURCE_ID_H_ 6 #define PPAPI_SHARED_IMPL_SINGLETON_RESOURCE_ID_H_
7 7
8 namespace ppapi { 8 namespace ppapi {
9 9
10 // These IDs are used to access singleton resource objects using 10 // These IDs are used to access singleton resource objects using
11 // PPB_Instance_API.GetSingletonResource. 11 // PPB_Instance_API.GetSingletonResource.
12 enum SingletonResourceID { 12 enum SingletonResourceID {
13 // TODO(raymes): The broker resource isn't really a singleton. This is only 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 14 // a hack until PPB_Broker trusted has been fully refactored to the new
15 // resource model. 15 // resource model.
16 BROKER_SINGLETON_ID, 16 BROKER_SINGLETON_ID,
17 BROWSER_FONT_SINGLETON_ID, 17 BROWSER_FONT_SINGLETON_ID,
18 FILE_MAPPING_SINGLETON_ID, 18 FILE_MAPPING_SINGLETON_ID,
19 FLASH_CLIPBOARD_SINGLETON_ID, 19 FLASH_CLIPBOARD_SINGLETON_ID,
20 FLASH_FILE_SINGLETON_ID, 20 FLASH_FILE_SINGLETON_ID,
21 FLASH_FULLSCREEN_SINGLETON_ID, 21 FLASH_FULLSCREEN_SINGLETON_ID,
22 FLASH_SINGLETON_ID, 22 FLASH_SINGLETON_ID,
23 GAMEPAD_SINGLETON_ID, 23 GAMEPAD_SINGLETON_ID,
24 ISOLATED_FILESYSTEM_SINGLETON_ID, 24 ISOLATED_FILESYSTEM_SINGLETON_ID,
25 MOJO_SINGLETON_ID,
25 NETWORK_PROXY_SINGLETON_ID, 26 NETWORK_PROXY_SINGLETON_ID,
26 PDF_SINGLETON_ID, 27 PDF_SINGLETON_ID,
27 TRUETYPE_FONT_SINGLETON_ID, 28 TRUETYPE_FONT_SINGLETON_ID,
28 UMA_SINGLETON_ID, 29 UMA_SINGLETON_ID,
29 }; 30 };
30 31
31 } // namespace ppapi 32 } // namespace ppapi
32 33
33 #endif // PPAPI_SHARED_IMPL_SINGLETON_RESOURCE_ID_H_ 34 #endif // PPAPI_SHARED_IMPL_SINGLETON_RESOURCE_ID_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/resource.h ('k') | ppapi/thunk/interfaces_ppb_public_stable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698