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

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

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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
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_FLASH_CLIPBOARD_FORMAT_REGISTRY_H_ 5 #ifndef PPAPI_SHARED_IMPL_FLASH_CLIPBOARD_FORMAT_REGISTRY_H_
6 #define PPAPI_SHARED_IMPL_FLASH_CLIPBOARD_FORMAT_REGISTRY_H_ 6 #define PPAPI_SHARED_IMPL_FLASH_CLIPBOARD_FORMAT_REGISTRY_H_
7 7
8 #include <stdint.h>
9
8 #include <map> 10 #include <map>
9 #include <string> 11 #include <string>
10 12
11 #include "base/basictypes.h" 13 #include "base/macros.h"
12 #include "ppapi/c/private/ppb_flash_clipboard.h" 14 #include "ppapi/c/private/ppb_flash_clipboard.h"
13 #include "ppapi/shared_impl/ppapi_shared_export.h" 15 #include "ppapi/shared_impl/ppapi_shared_export.h"
14 16
15 namespace ppapi { 17 namespace ppapi {
16 18
17 // This class manages custom clipboard formats that can be registered by a user 19 // This class manages custom clipboard formats that can be registered by a user
18 // of PPB_Flash_Clipboard. It is used by both the plugin and host side 20 // of PPB_Flash_Clipboard. It is used by both the plugin and host side
19 // of the proxy. The host side is the definitive source of which formats 21 // of the proxy. The host side is the definitive source of which formats
20 // have been registered but format registration is tracked on the plugin 22 // have been registered but format registration is tracked on the plugin
21 // side to better handle error cases. 23 // side to better handle error cases.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // A map of custom format ID to format name. 57 // A map of custom format ID to format name.
56 typedef std::map<uint32_t, std::string> FormatMap; 58 typedef std::map<uint32_t, std::string> FormatMap;
57 FormatMap custom_formats_; 59 FormatMap custom_formats_;
58 60
59 DISALLOW_COPY_AND_ASSIGN(FlashClipboardFormatRegistry); 61 DISALLOW_COPY_AND_ASSIGN(FlashClipboardFormatRegistry);
60 }; 62 };
61 63
62 } // ppapi 64 } // ppapi
63 65
64 #endif // PPAPI_SHARED_IMPL_FLASH_CLIPBOARD_FORMAT_REGISTRY_H_ 66 #endif // PPAPI_SHARED_IMPL_FLASH_CLIPBOARD_FORMAT_REGISTRY_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/file_ref_util.cc ('k') | ppapi/shared_impl/flash_clipboard_format_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698