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

Unified Diff: base/json/string_escape.h

Issue 316016: Move the json-related files into a separate json directory. This hopefully al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « base/json/json_writer_unittest.cc ('k') | base/json/string_escape.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/json/string_escape.h
===================================================================
--- base/json/string_escape.h (revision 0)
+++ base/json/string_escape.h (working copy)
@@ -4,14 +4,14 @@
//
// This file defines utility functions for escaping strings.
-#ifndef BASE_STRING_ESCAPE_H__
-#define BASE_STRING_ESCAPE_H__
+#ifndef BASE_JSON_STRING_ESCAPE_H_
+#define BASE_JSON_STRING_ESCAPE_H_
#include <string>
#include "base/string16.h"
-namespace string_escape {
+namespace base {
// Escape |str| appropriately for a JSON string litereal, _appending_ the
// result to |dst|. This will create unicode escape sequences (\uXXXX).
@@ -27,6 +27,6 @@
std::string* dst);
-} // namespace string_escape
+} // namespace base
-#endif // BASE_STRING_ESCAPE_H__
+#endif // BASE_JSON_STRING_ESCAPE_H_
Property changes on: base/json/string_escape.h
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/string_escape.h:r69-2775
« no previous file with comments | « base/json/json_writer_unittest.cc ('k') | base/json/string_escape.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698