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

Unified Diff: ui/base/clipboard/clipboard.h

Issue 100303003: Move more uses of string16 to specify base:: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/zlib/google/zip_reader.cc ('k') | ui/base/clipboard/clipboard_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/clipboard/clipboard.h
diff --git a/ui/base/clipboard/clipboard.h b/ui/base/clipboard/clipboard.h
index 27d005a9ee2dad5d8a0a5b5033bf7b8ee05089df..7229041aca7599ec025acd5617909de020d61255 100644
--- a/ui/base/clipboard/clipboard.h
+++ b/ui/base/clipboard/clipboard.h
@@ -230,11 +230,11 @@ class UI_EXPORT Clipboard : NON_EXPORTED_BASE(public base::ThreadChecker) {
void Clear(ClipboardType type);
void ReadAvailableTypes(ClipboardType type,
- std::vector<string16>* types,
+ std::vector<base::string16>* types,
bool* contains_filenames) const;
// Reads UNICODE text from the clipboard, if available.
- void ReadText(ClipboardType type, string16* result) const;
+ void ReadText(ClipboardType type, base::string16* result) const;
// Reads ASCII text from the clipboard, if available.
void ReadAsciiText(ClipboardType type, std::string* result) const;
@@ -244,7 +244,7 @@ class UI_EXPORT Clipboard : NON_EXPORTED_BASE(public base::ThreadChecker) {
// markup indicating the beginning and end of the actual fragment. Otherwise,
// they will contain 0 and markup->size().
void ReadHTML(ClipboardType type,
- string16* markup,
+ base::string16* markup,
std::string* src_url,
uint32* fragment_start,
uint32* fragment_end) const;
@@ -257,11 +257,11 @@ class UI_EXPORT Clipboard : NON_EXPORTED_BASE(public base::ThreadChecker) {
SkBitmap ReadImage(ClipboardType type) const;
void ReadCustomData(ClipboardType clipboard_type,
- const string16& type,
- string16* result) const;
+ const base::string16& type,
+ base::string16* result) const;
// Reads a bookmark from the clipboard, if available.
- void ReadBookmark(string16* title, std::string* url) const;
+ void ReadBookmark(base::string16* title, std::string* url) const;
// Reads raw data from the clipboard with the given format type. Stores result
// as a byte vector.
@@ -346,8 +346,8 @@ class UI_EXPORT Clipboard : NON_EXPORTED_BASE(public base::ThreadChecker) {
// Safely write to system clipboard. Free |handle| on failure.
void WriteToClipboard(unsigned int format, HANDLE handle);
- static void ParseBookmarkClipboardFormat(const string16& bookmark,
- string16* title,
+ static void ParseBookmarkClipboardFormat(const base::string16& bookmark,
+ base::string16* title,
std::string* url);
// Free a handle depending on its type (as intuited from format)
« no previous file with comments | « third_party/zlib/google/zip_reader.cc ('k') | ui/base/clipboard/clipboard_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698