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 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_SYNC_PROCESSOR_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_SYNC_PROCESSOR_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_SYNC_PROCESSOR_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_SYNC_PROCESSOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "chrome/browser/value_store/value_store_change.h" | 11 #include "chrome/browser/value_store/value_store_change.h" |
13 #include "sync/api/sync_error.h" | 12 #include "sync/api/sync_error.h" |
14 | 13 |
15 namespace syncer { | 14 namespace syncer { |
16 class SyncChangeProcessor; | 15 class SyncChangeProcessor; |
17 } // namespace syncer | 16 } // namespace syncer |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // Keys of the settings that are currently being synced. Used to decide what | 58 // Keys of the settings that are currently being synced. Used to decide what |
60 // kind of action (ADD, UPDATE, REMOVE) to send to sync. | 59 // kind of action (ADD, UPDATE, REMOVE) to send to sync. |
61 std::set<std::string> synced_keys_; | 60 std::set<std::string> synced_keys_; |
62 | 61 |
63 DISALLOW_COPY_AND_ASSIGN(SettingsSyncProcessor); | 62 DISALLOW_COPY_AND_ASSIGN(SettingsSyncProcessor); |
64 }; | 63 }; |
65 | 64 |
66 } // namespace extensions | 65 } // namespace extensions |
67 | 66 |
68 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_SYNC_PROCESSOR_H_ | 67 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_SYNC_PROCESSOR_H_ |
OLD | NEW |