Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: chrome/common/net/url_util.h

Issue 558913003: Remove clipboard argument from ScopedClipboardWriter constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't leak a clipboard on Windows Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc ('k') | chrome/common/net/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698