| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h" | 5 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "net/base/filename_util.h" | 9 #include "net/base/filename_util.h" |
| 10 #include "ui/base/clipboard/clipboard.h" | 10 #include "ui/base/clipboard/clipboard.h" |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 210 |
| 211 GURL test_url(string_); | 211 GURL test_url(string_); |
| 212 if (!test_url.is_valid()) | 212 if (!test_url.is_valid()) |
| 213 return false; | 213 return false; |
| 214 | 214 |
| 215 if (url) | 215 if (url) |
| 216 *url = test_url; | 216 *url = test_url; |
| 217 return true; | 217 return true; |
| 218 } | 218 } |
| 219 | 219 |
| 220 /////////////////////////////////////////////////////////////////////////////// | |
| 221 // OSExchangeData, public: | |
| 222 | |
| 223 // static | |
| 224 OSExchangeData::Provider* OSExchangeData::CreateProvider() { | |
| 225 return new OSExchangeDataProviderAura(); | |
| 226 } | |
| 227 | |
| 228 } // namespace ui | 220 } // namespace ui |
| OLD | NEW |