OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/views/mus/os_exchange_data_provider_mus.h" | 5 #include "ui/views/mus/os_exchange_data_provider_mus.h" |
6 | 6 |
7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
8 #include "base/strings/string_split.h" | 8 #include "base/strings/string_split.h" |
| 9 #include "base/strings/string_util.h" |
9 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
10 #include "mojo/common/common_type_converters.h" | 11 #include "mojo/common/common_type_converters.h" |
11 #include "net/base/filename_util.h" | 12 #include "net/base/filename_util.h" |
12 #include "services/ui/public/interfaces/clipboard.mojom.h" | 13 #include "services/ui/public/interfaces/clipboard.mojom.h" |
13 #include "ui/base/dragdrop/file_info.h" | 14 #include "ui/base/dragdrop/file_info.h" |
14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
15 | 16 |
16 namespace views { | 17 namespace views { |
17 | 18 |
18 namespace { | 19 namespace { |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 GURL test_url(str); | 356 GURL test_url(str); |
356 if (!test_url.is_valid()) | 357 if (!test_url.is_valid()) |
357 return false; | 358 return false; |
358 | 359 |
359 if (url) | 360 if (url) |
360 *url = test_url; | 361 *url = test_url; |
361 return true; | 362 return true; |
362 } | 363 } |
363 | 364 |
364 } // namespace views | 365 } // namespace views |
OLD | NEW |