#include "chrome/browser/ui/views/extensions/browser_action_drag_data.h"
#include <stdint.h>
#include "base/check.h"
#include "base/no_destructor.h"
#include "base/pickle.h"
#include "base/strings/string_util.h"
#include "chrome/browser/profiles/profile.h"
#include "ui/base/clipboard/clipboard.h"
namespace {
const char kClipboardFormatString[] = …;
}
BrowserActionDragData::BrowserActionDragData()
: … { … }
BrowserActionDragData::BrowserActionDragData(const std::string& id, int index)
: … { … }
bool BrowserActionDragData::GetDropFormats(
std::set<ui::ClipboardFormatType>* format_types) { … }
bool BrowserActionDragData::AreDropTypesRequired() { … }
bool BrowserActionDragData::CanDrop(const ui::OSExchangeData& data,
const Profile* profile) { … }
bool BrowserActionDragData::IsFromProfile(const Profile* profile) const { … }
void BrowserActionDragData::Write(
Profile* profile, ui::OSExchangeData* data) const { … }
bool BrowserActionDragData::Read(const ui::OSExchangeData& data) { … }
const ui::ClipboardFormatType&
BrowserActionDragData::GetBrowserActionFormatType() { … }
void BrowserActionDragData::WriteToPickle(Profile* profile,
base::Pickle* pickle) const { … }
bool BrowserActionDragData::ReadFromPickle(base::Pickle* pickle) { … }