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

Unified Diff: services/ui/ws/drag_target_connection.h

Issue 2603893002: Remove mojo::Map. (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: services/ui/ws/drag_target_connection.h
diff --git a/services/ui/ws/drag_target_connection.h b/services/ui/ws/drag_target_connection.h
index d3c22ce3a8b8a692a680a85cd94caed1b5d18a3e..b6cfb65c0344a5bdd03fd42175b3764286f31ae5 100644
--- a/services/ui/ws/drag_target_connection.h
+++ b/services/ui/ws/drag_target_connection.h
@@ -5,10 +5,11 @@
#ifndef SERVICES_UI_WS_DRAG_TARGET_CONNECTION_H_
#define SERVICES_UI_WS_DRAG_TARGET_CONNECTION_H_
+#include <string>
+#include <unordered_map>
+
#include "base/bind.h"
#include "mojo/public/cpp/bindings/array.h"
-#include "mojo/public/cpp/bindings/map.h"
-#include "mojo/public/cpp/bindings/string.h"
#include "ui/gfx/geometry/point.h"
namespace ui {
@@ -37,7 +38,7 @@ class DragTargetConnection {
// equivalent in ui::WindowDropTarget to minimize the load of inter-process
// communication.)
virtual void PerformOnDragDropStart(
- mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) = 0;
+ std::unordered_map<std::string, std::vector<uint8_t>> mime_data) = 0;
// Next, on each time that the mouse cursor moves from one |window| to
// another, we send a DragEnter message. The value returned by |callback| is

Powered by Google App Engine
This is Rietveld 408576698