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

Unified Diff: chrome/browser/extensions/extension_bookmarks_module.cc

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
Index: chrome/browser/extensions/extension_bookmarks_module.cc
===================================================================
--- chrome/browser/extensions/extension_bookmarks_module.cc (revision 29830)
+++ chrome/browser/extensions/extension_bookmarks_module.cc (working copy)
@@ -4,7 +4,7 @@
#include "chrome/browser/extensions/extension_bookmarks_module.h"
-#include "base/json_writer.h"
+#include "base/json/json_writer.h"
#include "base/string_util.h"
#include "chrome/browser/bookmarks/bookmark_codec.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
@@ -185,7 +185,7 @@
args.Append(object_args);
std::string json_args;
- JSONWriter::Write(&args, false, &json_args);
+ base::JSONWriter::Write(&args, false, &json_args);
DispatchEvent(model->profile(), keys::kOnBookmarkMoved, json_args);
}
@@ -199,7 +199,7 @@
args.Append(obj);
std::string json_args;
- JSONWriter::Write(&args, false, &json_args);
+ base::JSONWriter::Write(&args, false, &json_args);
DispatchEvent(model->profile(), keys::kOnBookmarkCreated, json_args);
}
@@ -216,7 +216,7 @@
args.Append(object_args);
std::string json_args;
- JSONWriter::Write(&args, false, &json_args);
+ base::JSONWriter::Write(&args, false, &json_args);
DispatchEvent(model->profile(), keys::kOnBookmarkRemoved, json_args);
}
@@ -235,7 +235,7 @@
args.Append(object_args);
std::string json_args;
- JSONWriter::Write(&args, false, &json_args);
+ base::JSONWriter::Write(&args, false, &json_args);
DispatchEvent(model->profile(), keys::kOnBookmarkChanged, json_args);
}
@@ -260,7 +260,7 @@
args.Append(reorder_info);
std::string json_args;
- JSONWriter::Write(&args, false, &json_args);
+ base::JSONWriter::Write(&args, false, &json_args);
DispatchEvent(model->profile(),
keys::kOnBookmarkChildrenReordered,
json_args);
« no previous file with comments | « chrome/browser/dom_ui/new_tab_page_sync_handler.cc ('k') | chrome/browser/extensions/extension_browser_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698