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