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

Side by Side Diff: ui/base/clipboard/custom_data_helper.cc

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/clipboard/clipboard_win.cc ('k') | ui/base/clipboard/custom_data_helper_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // TODO(dcheng): For efficiency reasons, consider passing custom data around 5 // TODO(dcheng): For efficiency reasons, consider passing custom data around
6 // as a vector instead. It allows us to append a 6 // as a vector instead. It allows us to append a
7 // std::pair<string16, string16> and swap the deserialized values in. 7 // std::pair<base::string16, base::string16> and swap the deserialized values.
8 8
9 #include "ui/base/clipboard/custom_data_helper.h" 9 #include "ui/base/clipboard/custom_data_helper.h"
10 10
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/pickle.h" 13 #include "base/pickle.h"
14 14
15 namespace ui { 15 namespace ui {
16 16
17 namespace { 17 namespace {
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 for (std::map<base::string16, base::string16>::const_iterator it = 120 for (std::map<base::string16, base::string16>::const_iterator it =
121 data.begin(); 121 data.begin();
122 it != data.end(); 122 it != data.end();
123 ++it) { 123 ++it) {
124 pickle->WriteString16(it->first); 124 pickle->WriteString16(it->first);
125 pickle->WriteString16(it->second); 125 pickle->WriteString16(it->second);
126 } 126 }
127 } 127 }
128 128
129 } // namespace ui 129 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/clipboard/clipboard_win.cc ('k') | ui/base/clipboard/custom_data_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698