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

Side by Side Diff: Source/core/clipboard/DraggedIsolatedFileSystem.cpp

Issue 925913002: Fixed WebDragData's wrong dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
(Empty)
1 #include "config.h"
tkent 2015/02/23 23:40:40 Add the 3-line copyright header.
tasak 2015/02/25 08:15:24 Done.
2 #include "core/clipboard/DraggedIsolatedFileSystem.h"
3
4 namespace blink {
5
6 void (*DraggedIsolatedFileSystem::m_prepareMethod)(DataObject*, const String&) = nullptr;
7
8 void DraggedIsolatedFileSystem::init(void (*prepareMethod)(DataObject*, const St ring&))
9 {
10 ASSERT(!m_prepareMethod);
11 m_prepareMethod = prepareMethod;
12 }
13
14 void DraggedIsolatedFileSystem::prepareForDataObject(DataObject* dataObject, con st String& filesystemId)
15 {
16 ASSERT(m_prepareMethod);
17 (*m_prepareMethod)(dataObject, filesystemId);
18 }
19
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698