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

Unified Diff: jingle/glue/utils.cc

Issue 17034006: Add base namespace to more values in sync and elsewhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « ipc/ipc_message_utils.cc ('k') | media/base/media_log_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/utils.cc
diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc
index d58fce0e8c6ee7b1dc0d50c366dd0359fe74fed0..bc548ea8112b267a8156e893ef9f23e2ebdc2853 100644
--- a/jingle/glue/utils.cc
+++ b/jingle/glue/utils.cc
@@ -35,7 +35,7 @@ bool SocketAddressToIPEndPoint(const talk_base::SocketAddress& address,
std::string SerializeP2PCandidate(const cricket::Candidate& candidate) {
// TODO(sergeyu): Use SDP to format candidates?
- DictionaryValue value;
+ base::DictionaryValue value;
value.SetString("ip", candidate.address().ipaddr().ToString());
value.SetInteger("port", candidate.address().port());
value.SetString("type", candidate.type());
@@ -52,13 +52,14 @@ std::string SerializeP2PCandidate(const cricket::Candidate& candidate) {
bool DeserializeP2PCandidate(const std::string& candidate_str,
cricket::Candidate* candidate) {
- scoped_ptr<Value> value(
+ scoped_ptr<base::Value> value(
base::JSONReader::Read(candidate_str, base::JSON_ALLOW_TRAILING_COMMAS));
- if (!value.get() || !value->IsType(Value::TYPE_DICTIONARY)) {
+ if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY)) {
return false;
}
- DictionaryValue* dic_value = static_cast<DictionaryValue*>(value.get());
+ base::DictionaryValue* dic_value =
+ static_cast<base::DictionaryValue*>(value.get());
std::string ip;
int port;
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | media/base/media_log_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698