OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SYNC_BUNDLE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_SYNC_BUNDLE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_SYNC_BUNDLE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_SYNC_BUNDLE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "sync/api/sync_change.h" | 13 #include "components/sync/api/sync_change.h" |
14 #include "sync/api/sync_change_processor.h" | 14 #include "components/sync/api/sync_change_processor.h" |
15 #include "sync/api/sync_data.h" | 15 #include "components/sync/api/sync_data.h" |
16 | 16 |
17 class ExtensionSyncService; | 17 class ExtensionSyncService; |
18 | 18 |
19 namespace extensions { | 19 namespace extensions { |
20 | 20 |
21 class ExtensionSyncData; | 21 class ExtensionSyncData; |
22 | 22 |
23 class SyncBundle { | 23 class SyncBundle { |
24 public: | 24 public: |
25 SyncBundle(); | 25 SyncBundle(); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 // server until we've installed the extension locally, to prevent the sync | 89 // server until we've installed the extension locally, to prevent the sync |
90 // state from flipping back and forth until all clients are up to date. | 90 // state from flipping back and forth until all clients are up to date. |
91 std::map<std::string, ExtensionSyncData> pending_sync_data_; | 91 std::map<std::string, ExtensionSyncData> pending_sync_data_; |
92 | 92 |
93 DISALLOW_COPY_AND_ASSIGN(SyncBundle); | 93 DISALLOW_COPY_AND_ASSIGN(SyncBundle); |
94 }; | 94 }; |
95 | 95 |
96 } // namespace extensions | 96 } // namespace extensions |
97 | 97 |
98 #endif // CHROME_BROWSER_EXTENSIONS_SYNC_BUNDLE_H_ | 98 #endif // CHROME_BROWSER_EXTENSIONS_SYNC_BUNDLE_H_ |
OLD | NEW |