OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // A struct that encapsulates the synced properties of an Extension. | |
asargent_no_longer_on_chrome
2011/04/15 18:42:30
nit: move this to be right above the "struct" decl
akalin
2011/04/15 21:19:39
Done.
| |
6 | |
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ | |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ | |
9 #pragma once | |
10 | |
11 #include <string> | |
12 | |
13 #include "base/version.h" | |
14 #include "googleurl/src/gurl.h" | |
15 | |
16 struct ExtensionSyncData { | |
17 ExtensionSyncData(); | |
18 ~ExtensionSyncData(); | |
19 | |
20 std::string id; | |
21 | |
22 // Version-independent properties (i.e., used even when the | |
23 // version of the currently-installed extension doesn't match | |
24 // |version|). | |
25 bool uninstalled; | |
26 bool enabled; | |
27 bool incognito_enabled; | |
28 | |
29 // Version-dependent properties (i.e., should be used only when the | |
30 // version of the currenty-installed extension matches |version|). | |
31 Version version; | |
32 GURL update_url; | |
33 }; | |
34 | |
35 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ | |
OLD | NEW |