| 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 #ifndef CHROME_COMMON_NET_URL_UTIL_H_ | 5 #ifndef CHROME_COMMON_NET_URL_UTIL_H_ |
| 6 #define CHROME_COMMON_NET_URL_UTIL_H_ | 6 #define CHROME_COMMON_NET_URL_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 class GURL; | 10 class GURL; |
| 11 | 11 |
| 12 namespace ui { | |
| 13 class Clipboard; | |
| 14 } | |
| 15 | |
| 16 namespace chrome_common_net { | 12 namespace chrome_common_net { |
| 17 | 13 |
| 18 // Writes a string representation of |url| to the system clipboard. | 14 // Writes a string representation of |url| to the system clipboard. |
| 19 void WriteURLToClipboard(const GURL& url, | 15 void WriteURLToClipboard(const GURL& url, const std::string& languages); |
| 20 const std::string& languages, | |
| 21 ui::Clipboard *clipboard); | |
| 22 | 16 |
| 23 } // namespace chrome_common_net | 17 } // namespace chrome_common_net |
| 24 | 18 |
| 25 #endif // CHROME_COMMON_NET_URL_UTIL_H_ | 19 #endif // CHROME_COMMON_NET_URL_UTIL_H_ |
| OLD | NEW |