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

Unified Diff: ui/base/dragdrop/os_exchange_data_provider_builder_mac.mm

Issue 2179813003: Allow OSExchangeData::Provider to be overridden at run time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac + win Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/dragdrop/os_exchange_data_provider_builder_mac.mm
diff --git a/ui/base/dragdrop/os_exchange_data_provider_builder_mac.mm b/ui/base/dragdrop/os_exchange_data_provider_builder_mac.mm
new file mode 100644
index 0000000000000000000000000000000000000000..8201202a731c991af7537b69dbee500e6cdf2613
--- /dev/null
+++ b/ui/base/dragdrop/os_exchange_data_provider_builder_mac.mm
@@ -0,0 +1,16 @@
+// Copyright 2016 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 "ui/base/dragdrop/os_exchange_data_provider_builder_mac.h"
+
+#include "base/memory/ptr_util.h"
+#include "ui/base/dragdrop/os_exchange_data_provider_mac.h"
+
+namespace ui {
+
+std::unique_ptr<OSExchangeData::Provider> BuildOSExchangeDataProviderMac() {
+ return base::MakeUnique<OSExchangeDataProviderMac>();
+}
+
+} // namespace ui
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_builder_mac.h ('k') | ui/base/dragdrop/os_exchange_data_provider_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698