OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_EXTENSION_SYNC_DATA_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/version.h" | 11 #include "base/version.h" |
12 #include "chrome/browser/sync/api/sync_change.h" | 12 #include "chrome/browser/sync/api/sync_change.h" |
13 #include "chrome/browser/sync/api/sync_data.h" | 13 #include "chrome/browser/sync/api/sync_data.h" |
14 #include "chrome/common/extensions/extension.h" | 14 #include "chrome/common/extensions/extension.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 | 16 |
17 class ExtensionService; | |
18 class SyncData; | 17 class SyncData; |
19 namespace sync_pb { | 18 namespace sync_pb { |
20 class AppSpecifics; | 19 class AppSpecifics; |
21 class ExtensionSpecifics; | 20 class ExtensionSpecifics; |
22 } | 21 } |
23 | 22 |
24 // A class that encapsulates the synced properties of an Extension. | 23 // A class that encapsulates the synced properties of an Extension. |
25 class ExtensionSyncData { | 24 class ExtensionSyncData { |
26 public: | 25 public: |
27 ExtensionSyncData(); | 26 ExtensionSyncData(); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 bool incognito_enabled_; | 75 bool incognito_enabled_; |
77 Extension::SyncType type_; | 76 Extension::SyncType type_; |
78 Version version_; | 77 Version version_; |
79 GURL update_url_; | 78 GURL update_url_; |
80 std::string name_; | 79 std::string name_; |
81 bool notifications_initial_setup_done_; | 80 bool notifications_initial_setup_done_; |
82 bool notifications_disabled_; | 81 bool notifications_disabled_; |
83 }; | 82 }; |
84 | 83 |
85 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ | 84 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ |
OLD | NEW |