#ifndef UI_BASE_CLIPBOARD_CUSTOM_DATA_HELPER_H_
#define UI_BASE_CLIPBOARD_CUSTOM_DATA_HELPER_H_
#include <map>
#include <vector>
#include "base/strings/string16.h"
#include "ui/base/ui_base_export.h"
class Pickle;
#if defined(OS_MACOSX)
#ifdef __OBJC__
@class NSString;
#else
class NSString;
#endif
#endif
namespace ui {
#if defined(OS_MACOSX) && !defined(USE_AURA)
UI_BASE_EXPORT extern NSString* const kWebCustomDataPboardType;
#elif (!defined(OS_WIN) && defined(USE_AURA)) || defined(TOOLKIT_GTK)
UI_BASE_EXPORT extern const char kMimeTypeWebCustomData[];
#endif
UI_BASE_EXPORT void ReadCustomDataTypes(const void* data,
size_t data_length,
std::vector<base::string16>* types);
UI_BASE_EXPORT void ReadCustomDataForType(const void* data,
size_t data_length,
const base::string16& type,
base::string16* result);
UI_BASE_EXPORT void ReadCustomDataIntoMap(
const void* data,
size_t data_length,
std::map<base::string16, base::string16>* result);
UI_BASE_EXPORT void WriteCustomDataToPickle(
const std::map<base::string16, base::string16>& data,
Pickle* pickle);
}
#endif