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_APP_SYNC_DATA_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_SYNC_DATA_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_APP_SYNC_DATA_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_APP_SYNC_DATA_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/extensions/extension_sync_data.h" | 9 #include "chrome/browser/extensions/extension_sync_data.h" |
10 #include "extensions/common/constants.h" | 10 #include "extensions/common/constants.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 LinkedAppIconInfo(); | 32 LinkedAppIconInfo(); |
33 ~LinkedAppIconInfo(); | 33 ~LinkedAppIconInfo(); |
34 | 34 |
35 GURL url; | 35 GURL url; |
36 int size; | 36 int size; |
37 }; | 37 }; |
38 | 38 |
39 AppSyncData(); | 39 AppSyncData(); |
40 AppSyncData(const Extension& extension, | 40 AppSyncData(const Extension& extension, |
41 bool enabled, | 41 bool enabled, |
| 42 int disable_reasons, |
42 bool incognito_enabled, | 43 bool incognito_enabled, |
43 bool remote_install, | 44 bool remote_install, |
44 ExtensionSyncData::OptionalBoolean all_urls_enabled, | 45 ExtensionSyncData::OptionalBoolean all_urls_enabled, |
45 const syncer::StringOrdinal& app_launch_ordinal, | 46 const syncer::StringOrdinal& app_launch_ordinal, |
46 const syncer::StringOrdinal& page_ordinal, | 47 const syncer::StringOrdinal& page_ordinal, |
47 extensions::LaunchType launch_type); | 48 extensions::LaunchType launch_type); |
48 ~AppSyncData(); | 49 ~AppSyncData(); |
49 | 50 |
50 // For constructing an AppSyncData from received sync data. | 51 // For constructing an AppSyncData from received sync data. |
51 // May return null if the sync data was invalid. | 52 // May return null if the sync data was invalid. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 extensions::LaunchType launch_type_; | 110 extensions::LaunchType launch_type_; |
110 std::string bookmark_app_url_; | 111 std::string bookmark_app_url_; |
111 std::string bookmark_app_description_; | 112 std::string bookmark_app_description_; |
112 std::string bookmark_app_icon_color_; | 113 std::string bookmark_app_icon_color_; |
113 std::vector<LinkedAppIconInfo> linked_icons_; | 114 std::vector<LinkedAppIconInfo> linked_icons_; |
114 }; | 115 }; |
115 | 116 |
116 } // namespace extensions | 117 } // namespace extensions |
117 | 118 |
118 #endif // CHROME_BROWSER_EXTENSIONS_APP_SYNC_DATA_H_ | 119 #endif // CHROME_BROWSER_EXTENSIONS_APP_SYNC_DATA_H_ |
OLD | NEW |