OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/extensions/settings/settings_namespace.h" | 5 #include "chrome/browser/extensions/settings/settings_namespace.h" |
6 #include "chrome/browser/extensions/settings/settings_sync_processor.h" | 6 #include "chrome/browser/extensions/settings/settings_sync_processor.h" |
7 #include "chrome/browser/extensions/settings/settings_sync_util.h" | 7 #include "chrome/browser/extensions/settings/settings_sync_util.h" |
8 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
9 #include "sync/api/sync_change_processor.h" | 9 #include "sync/api/sync_change_processor.h" |
10 #include "sync/api/sync_data.h" | 10 #include "sync/api/sync_data.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 for (ValueStoreChangeList::const_iterator i = changes.begin(); | 101 for (ValueStoreChangeList::const_iterator i = changes.begin(); |
102 i != changes.end(); ++i) { | 102 i != changes.end(); ++i) { |
103 if (i->new_value()) | 103 if (i->new_value()) |
104 synced_keys_.insert(i->key()); | 104 synced_keys_.insert(i->key()); |
105 else | 105 else |
106 synced_keys_.erase(i->key()); | 106 synced_keys_.erase(i->key()); |
107 } | 107 } |
108 } | 108 } |
109 | 109 |
110 } // namespace extensions | 110 } // namespace extensions |
OLD | NEW |