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

Unified Diff: chrome/browser/extensions/api/storage/settings_sync_processor.cc

Issue 16915006: Convert most of extensions and some other random stuff to using the base namespace for Values. (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
Index: chrome/browser/extensions/api/storage/settings_sync_processor.cc
diff --git a/chrome/browser/extensions/api/storage/settings_sync_processor.cc b/chrome/browser/extensions/api/storage/settings_sync_processor.cc
index 06b4ee8039ff85bfe52f472deba579ee665759e0..b016e9ea63ae5f4c6e7d284f8163311dc7b0703c 100644
--- a/chrome/browser/extensions/api/storage/settings_sync_processor.cc
+++ b/chrome/browser/extensions/api/storage/settings_sync_processor.cc
@@ -31,11 +31,12 @@ SettingsSyncProcessor::~SettingsSyncProcessor() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
}
-void SettingsSyncProcessor::Init(const DictionaryValue& initial_state) {
+void SettingsSyncProcessor::Init(const base::DictionaryValue& initial_state) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
CHECK(!initialized_) << "Init called multiple times";
- for (DictionaryValue::Iterator i(initial_state); !i.IsAtEnd(); i.Advance())
+ for (base::DictionaryValue::Iterator i(initial_state); !i.IsAtEnd();
+ i.Advance())
synced_keys_.insert(i.key());
initialized_ = true;

Powered by Google App Engine
This is Rietveld 408576698