1 // Copyright (c) 2009 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_BROWSER_NET_BROWSER_URL_UTIL_H_ 6 #define CHROME_BROWSER_NET_BROWSER_URL_UTIL_H_ 7 #pragma once 8 9 #include <string> 10 11 class GURL; 12 13 namespace ui { 14 class Clipboard; 15 } 16 17 namespace chrome_browser_net { 18 19 // Writes a string representation of |url| to the system clipboard. 20 void WriteURLToClipboard(const GURL& url, 21 const std::string& languages, 22 ui::Clipboard *clipboard); 23 24 } // namespace chrome_browser_net 25 26 #endif // CHROME_BROWSER_NET_BROWSER_URL_UTIL_H_ 27