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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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
« no previous file with comments | « chrome/browser/extensions/app_sync_bundle.h ('k') | chrome/browser/extensions/apps_promo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/extensions/extension_sync_data.h" 9 #include "chrome/browser/extensions/extension_sync_data.h"
10 #include "chrome/common/string_ordinal.h" 10 #include "chrome/common/string_ordinal.h"
11 #include "sync/api/sync_change.h" 11 #include "sync/api/sync_change.h"
12 12
13 class Extension;
14 class SyncData; 13 class SyncData;
15 namespace sync_pb { 14 namespace sync_pb {
16 class AppSpecifics; 15 class AppSpecifics;
17 } 16 }
18 17
19 namespace extensions { 18 namespace extensions {
20 19
20 class Extension;
21 class ExtensionSyncData; 21 class ExtensionSyncData;
22 22
23 // A class that encapsulates the synced properties of an Application. 23 // A class that encapsulates the synced properties of an Application.
24 class AppSyncData { 24 class AppSyncData {
25 public: 25 public:
26 AppSyncData(); 26 AppSyncData();
27 explicit AppSyncData(const SyncData& sync_data); 27 explicit AppSyncData(const SyncData& sync_data);
28 explicit AppSyncData(const SyncChange& sync_change); 28 explicit AppSyncData(const SyncChange& sync_change);
29 AppSyncData(const Extension& extension, 29 AppSyncData(const Extension& extension,
30 bool enabled, 30 bool enabled,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 ExtensionSyncData extension_sync_data_; 74 ExtensionSyncData extension_sync_data_;
75 std::string notifications_client_id_; 75 std::string notifications_client_id_;
76 bool notifications_disabled_; 76 bool notifications_disabled_;
77 StringOrdinal app_launch_ordinal_; 77 StringOrdinal app_launch_ordinal_;
78 StringOrdinal page_ordinal_; 78 StringOrdinal page_ordinal_;
79 }; 79 };
80 80
81 } // namespace extensions 81 } // namespace extensions
82 82
83 #endif // CHROME_BROWSER_EXTENSIONS_APP_SYNC_DATA_H_ 83 #endif // CHROME_BROWSER_EXTENSIONS_APP_SYNC_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/app_sync_bundle.h ('k') | chrome/browser/extensions/apps_promo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698