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

Unified Diff: chrome/installer/util/google_chrome_distribution.cc

Issue 441008: Many changes to DictionaryValues:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/installer/util/google_chrome_distribution.cc
===================================================================
--- chrome/installer/util/google_chrome_distribution.cc (revision 32858)
+++ chrome/installer/util/google_chrome_distribution.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -112,15 +112,15 @@
DCHECK(NULL != metrics);
bool has_values = false;
- DictionaryValue::key_iterator iter(uninstall_metrics_dict->begin_keys());
- for (; iter != uninstall_metrics_dict->end_keys(); ++iter) {
+ for (DictionaryValue::key_iterator iter(uninstall_metrics_dict->begin_keys());
+ iter != uninstall_metrics_dict->end_keys(); ++iter) {
has_values = true;
metrics->append(L"&");
metrics->append(*iter);
metrics->append(L"=");
std::wstring value;
- uninstall_metrics_dict->GetString(*iter, &value);
+ uninstall_metrics_dict->GetStringWithoutPathExpansion(*iter, &value);
metrics->append(value);
}

Powered by Google App Engine
This is Rietveld 408576698