> // DEPRECATED, use Value::Clone() instead.

atom/browser/render_process_preferences.cc
#include "atom/browser/render_process_preferences.h"
#include "atom/common/api/api_messages.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
#include "content/public/browser/render_process_host.h"
namespace atom {
RenderProcessPreferences::RenderProcessPreferences(const Predicate& predicate)
    : predicate_(predicate) {
  registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CREATED,
                 content::NotificationService::AllBrowserContextsAndSources());
}
RenderProcessPreferences::~RenderProcessPreferences() {}
int RenderProcessPreferences::AddEntry(const base::DictionaryValue& entry) {
  int id = ++next_id_;
  entries_[id] =
      base::DictionaryValue::From(base::Value::ToUniquePtrValue(entry.Clone()));
  cache_needs_update_ = true;
  return id;
}
void RenderProcessPreferences::RemoveEntry(int id) {