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

Unified Diff: components/safe_json/safe_json_parser.h

Issue 1211793002: Rename safe_json_parser component to safe_json. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 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 | « components/safe_json/OWNERS ('k') | components/safe_json/safe_json_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json/safe_json_parser.h
diff --git a/components/safe_json_parser/safe_json_parser.h b/components/safe_json/safe_json_parser.h
similarity index 87%
rename from components/safe_json_parser/safe_json_parser.h
rename to components/safe_json/safe_json_parser.h
index 2ff1d9daccddbe2eb386171242adee4fb35d09ba..d8a950652327a2f34f1199200982b047f8b9bb7f 100644
--- a/components/safe_json_parser/safe_json_parser.h
+++ b/components/safe_json/safe_json_parser.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SAFE_JSON_PARSER_SAFE_JSON_PARSER_H_
-#define COMPONENTS_SAFE_JSON_PARSER_SAFE_JSON_PARSER_H_
+#ifndef COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_H_
+#define COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_H_
#include <string>
@@ -21,7 +21,7 @@ namespace IPC {
class Message;
}
-namespace safe_json_parser {
+namespace safe_json {
// SafeJsonParser parses a given JSON safely via a utility process. The object
// is ref-counted and kept alive after Start() is called until one of the two
@@ -61,6 +61,6 @@ class SafeJsonParser : public content::UtilityProcessHostClient {
DISALLOW_COPY_AND_ASSIGN(SafeJsonParser);
};
-} // namespace safe_json_parser
+} // namespace safe_json
-#endif // COMPONENTS_SAFE_JSON_PARSER_SAFE_JSON_PARSER_H_
+#endif // COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_H_
« no previous file with comments | « components/safe_json/OWNERS ('k') | components/safe_json/safe_json_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698