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/aura/mus/os_exchange_data_provider_mus.h" | 5 #include "ui/aura/mus/os_exchange_data_provider_mus.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "base/memory/ptr_util.h" |
12 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
13 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
14 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
15 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
16 #include "mojo/common/common_type_converters.h" | 17 #include "mojo/common/common_type_converters.h" |
17 #include "net/base/filename_util.h" | 18 #include "net/base/filename_util.h" |
18 #include "services/ui/public/interfaces/clipboard.mojom.h" | 19 #include "services/ui/public/interfaces/clipboard.mojom.h" |
19 #include "ui/base/dragdrop/file_info.h" | 20 #include "ui/base/dragdrop/file_info.h" |
20 #include "url/gurl.h" | 21 #include "url/gurl.h" |
21 | 22 |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 GURL test_url(str); | 357 GURL test_url(str); |
357 if (!test_url.is_valid()) | 358 if (!test_url.is_valid()) |
358 return false; | 359 return false; |
359 | 360 |
360 if (url) | 361 if (url) |
361 *url = test_url; | 362 *url = test_url; |
362 return true; | 363 return true; |
363 } | 364 } |
364 | 365 |
365 } // namespace aura | 366 } // namespace aura |
OLD | NEW |