Chromium Code Reviews| 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ | |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/version.h" | |
| 12 #include "googleurl/src/gurl.h" | |
| 13 | |
| 14 struct ExtensionSyncData { | |
|
asargent_no_longer_on_chrome
2011/04/14 23:32:14
nit: Even though this is just a struct, it would b
akalin
2011/04/15 01:17:11
Done.
| |
| 15 ExtensionSyncData(); | |
| 16 ~ExtensionSyncData(); | |
| 17 | |
| 18 std::string id; | |
| 19 | |
| 20 // Version-independent properties. | |
| 21 bool uninstalled; | |
| 22 bool enabled; | |
| 23 bool incognito_enabled; | |
| 24 | |
| 25 Version version; | |
| 26 | |
| 27 // Version-dependent properties. | |
|
asargent_no_longer_on_chrome
2011/04/14 23:32:14
Isn't "version" version-dependent? :)
Actually I'
akalin
2011/04/15 01:17:11
Added clarifying comments.
| |
| 28 GURL update_url; | |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_DATA_H_ | |
| OLD | NEW |