Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: chrome/browser/extensions/extension_sync_data.h

Issue 6852029: [Sync] Move some extension-sync-related logic to ExtensionService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile error Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698