| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/bookmarks/core/browser/bookmark_node_data.h" | 5 #include "components/bookmarks/browser/bookmark_node_data.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/pickle.h" | 8 #include "base/pickle.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "ui/base/clipboard/clipboard.h" | 10 #include "ui/base/clipboard/clipboard.h" |
| 11 | 11 |
| 12 namespace { | 12 namespace { |
| 13 | 13 |
| 14 const char kJavaScriptScheme[] = "javascript"; | 14 const char kJavaScriptScheme[] = "javascript"; |
| 15 | 15 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 Element element; | 62 Element element; |
| 63 GURL url; | 63 GURL url; |
| 64 base::string16 title; | 64 base::string16 title; |
| 65 if (data.GetURLAndTitle( | 65 if (data.GetURLAndTitle( |
| 66 ui::OSExchangeData::CONVERT_FILENAMES, &url, &title)) | 66 ui::OSExchangeData::CONVERT_FILENAMES, &url, &title)) |
| 67 ReadFromTuple(url, title); | 67 ReadFromTuple(url, title); |
| 68 } | 68 } |
| 69 | 69 |
| 70 return is_valid(); | 70 return is_valid(); |
| 71 } | 71 } |
| OLD | NEW |