summaryrefslogtreecommitdiff
path: root/chromium/components/exo/data_source.cc
blob: e70ddfa7a55aba92cf10239d1384782d2d3e1d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/exo/data_source.h"

#include "components/exo/data_source_delegate.h"

namespace exo {

DataSource::DataSource(DataSourceDelegate* delegate) : delegate_(delegate) {}

DataSource::~DataSource() {
  delegate_->OnDataSourceDestroying(this);
}

void DataSource::Offer(const std::string& mime_type) {
  NOTIMPLEMENTED();
}

void DataSource::SetActions(const base::flat_set<DndAction>& dnd_actions) {
  NOTIMPLEMENTED();
}

}  // namespace exo