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

Unified Diff: components/safe_json/safe_json_parser.cc

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/safe_json_parser.h ('k') | components/safe_json/safe_json_parser_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json/safe_json_parser.cc
diff --git a/components/safe_json_parser/safe_json_parser.cc b/components/safe_json/safe_json_parser.cc
similarity index 94%
rename from components/safe_json_parser/safe_json_parser.cc
rename to components/safe_json/safe_json_parser.cc
index 3f6444ff128dccc9df8ad3da3431a2e2e8489313..8a429922c8508fb25a95ff279962a863c7ec22ab 100644
--- a/components/safe_json_parser/safe_json_parser.cc
+++ b/components/safe_json/safe_json_parser.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/safe_json_parser/safe_json_parser.h"
+#include "components/safe_json/safe_json_parser.h"
#include <string>
@@ -10,7 +10,7 @@
#include "base/thread_task_runner_handle.h"
#include "base/tuple.h"
#include "base/values.h"
-#include "components/safe_json_parser/safe_json_parser_messages.h"
+#include "components/safe_json/safe_json_parser_messages.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/utility_process_host.h"
#include "grit/components_strings.h"
@@ -20,7 +20,7 @@
using content::BrowserThread;
using content::UtilityProcessHost;
-namespace safe_json_parser {
+namespace safe_json {
SafeJsonParser::SafeJsonParser(const std::string& unsafe_json,
const SuccessCallback& success_callback,
@@ -95,4 +95,4 @@ bool SafeJsonParser::OnMessageReceived(const IPC::Message& message) {
return handled;
}
-} // namespace safe_json_parser
+} // namespace safe_json
« no previous file with comments | « components/safe_json/safe_json_parser.h ('k') | components/safe_json/safe_json_parser_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698