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

Unified Diff: sync/engine/traffic_recorder.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 | « sync/engine/traffic_recorder.h ('k') | sync/engine/traffic_recorder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/traffic_recorder.cc
diff --git a/sync/engine/traffic_recorder.cc b/sync/engine/traffic_recorder.cc
index 0e19aaaea1c5dcebb947a093bb7b173b86ec3edd..d3f2347c6f6196f09a9519290a01148bd89c34b3 100644
--- a/sync/engine/traffic_recorder.cc
+++ b/sync/engine/traffic_recorder.cc
@@ -61,10 +61,10 @@ const char* GetMessageTypeString(TrafficRecorder::TrafficMessageType type) {
}
}
-DictionaryValue* TrafficRecorder::TrafficRecord::ToValue() const {
- scoped_ptr<DictionaryValue> value;
+base::DictionaryValue* TrafficRecorder::TrafficRecord::ToValue() const {
+ scoped_ptr<base::DictionaryValue> value;
if (truncated) {
- value.reset(new DictionaryValue());
+ value.reset(new base::DictionaryValue());
value->SetString("message_type",
GetMessageTypeString(message_type));
value->SetBoolean("truncated", true);
@@ -90,8 +90,8 @@ DictionaryValue* TrafficRecorder::TrafficRecord::ToValue() const {
}
-ListValue* TrafficRecorder::ToValue() const {
- scoped_ptr<ListValue> value(new ListValue());
+base::ListValue* TrafficRecorder::ToValue() const {
+ scoped_ptr<base::ListValue> value(new base::ListValue());
std::deque<TrafficRecord>::const_iterator it;
for (it = records_.begin(); it != records_.end(); ++it) {
const TrafficRecord& record = *it;
« no previous file with comments | « sync/engine/traffic_recorder.h ('k') | sync/engine/traffic_recorder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698