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

Unified Diff: ipc/ipc_message_utils.cc

Issue 16415016: Move nullable_string16.h to the string subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | webkit/browser/dom_storage/dom_storage_area.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils.cc
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
index 0cdc2b4ef520c9dc4cc622b773b92704fc709b47..839f15baccd6e688b5058e006765d0248564bc7d 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -7,7 +7,7 @@
#include "base/files/file_path.h"
#include "base/json/json_writer.h"
#include "base/memory/scoped_ptr.h"
-#include "base/nullable_string16.h"
+#include "base/strings/nullable_string16.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time.h"
@@ -525,24 +525,27 @@ void ParamTraits<ListValue>::Log(const param_type& p, std::string* l) {
l->append(json);
}
-void ParamTraits<NullableString16>::Write(Message* m, const param_type& p) {
+void ParamTraits<base::NullableString16>::Write(Message* m,
+ const param_type& p) {
WriteParam(m, p.string());
WriteParam(m, p.is_null());
}
-bool ParamTraits<NullableString16>::Read(const Message* m, PickleIterator* iter,
- param_type* r) {
+bool ParamTraits<base::NullableString16>::Read(const Message* m,
+ PickleIterator* iter,
+ param_type* r) {
string16 string;
if (!ReadParam(m, iter, &string))
return false;
bool is_null;
if (!ReadParam(m, iter, &is_null))
return false;
- *r = NullableString16(string, is_null);
+ *r = base::NullableString16(string, is_null);
return true;
}
-void ParamTraits<NullableString16>::Log(const param_type& p, std::string* l) {
+void ParamTraits<base::NullableString16>::Log(const param_type& p,
+ std::string* l) {
l->append("(");
LogParam(p.string(), l);
l->append(", ");
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | webkit/browser/dom_storage/dom_storage_area.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698